Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Derive MANINSTALL from MKCATPAGES and MKHTML.



details:   https://anonhg.NetBSD.org/src/rev/c8490292e288
branches:  trunk
changeset: 777381:c8490292e288
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Feb 17 00:00:02 2012 +0000

description:
Derive MANINSTALL from MKCATPAGES and MKHTML.

diffstat:

 share/mk/bsd.README |   4 ++--
 share/mk/bsd.own.mk |  12 ++++++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (51 lines):

diff -r 7e267f498a52 -r c8490292e288 share/mk/bsd.README
--- a/share/mk/bsd.README       Thu Feb 16 23:58:15 2012 +0000
+++ b/share/mk/bsd.README       Fri Feb 17 00:00:02 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.README,v 1.292 2012/02/07 22:58:49 joerg Exp $
+#      $NetBSD: bsd.README,v 1.293 2012/02/17 00:00:02 joerg Exp $
 #      @(#)bsd.README  8.2 (Berkeley) 4/2/94
 
 This is the README file for the make "include" files for the NetBSD
@@ -512,7 +512,7 @@
 
 MANINSTALL     Manual installation type.  Space separated list:
                        catinstall, htmlinstall, maninstall
-               [catinstall maninstall htmlinstall]
+               Default value derived from MKCATPAGES and MKHTML.
 
 LDSTATIC       Control program linking; if set blank, link everything
                dynamically.  If set to "-static", link everything statically.
diff -r 7e267f498a52 -r c8490292e288 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Thu Feb 16 23:58:15 2012 +0000
+++ b/share/mk/bsd.own.mk       Fri Feb 17 00:00:02 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.696 2012/02/10 05:57:42 matt Exp $
+#      $NetBSD: bsd.own.mk,v 1.697 2012/02/17 00:00:02 joerg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -525,7 +525,7 @@
 MANGRP?=       wheel
 MANOWN?=       root
 MANMODE?=      ${NONBINMODE}
-MANINSTALL?=   catinstall htmlinstall maninstall
+MANINSTALL?=   ${_MANINSTALL}
 
 INFODIR?=      /usr/share/info
 INFOGRP?=      wheel
@@ -883,6 +883,14 @@
 MKHTML:=       no
 .endif
 
+_MANINSTALL=   maninstall
+.if ${MKCATPAGES} != "no"
+_MANINSTALL+=  catinstall
+.endif
+.if ${MKHTML} != "no"
+_MANINSTALL+=  htmlinstall
+.endif
+
 .if ${MKLINKLIB} == "no"
 MKLINT:=       no
 MKPICINSTALL:= no



Home | Main Index | Thread Index | Old Index