diff options
-rw-r--r-- | etc/Makefile | 2 | ||||
-rw-r--r-- | etc/periodic/weekly/Makefile | 2 | ||||
-rw-r--r-- | gnu/usr.bin/Makefile | 2 | ||||
-rw-r--r-- | share/man/Makefile | 2 | ||||
-rw-r--r-- | share/mk/bsd.own.mk | 3 | ||||
-rw-r--r-- | usr.bin/Makefile | 8 | ||||
-rw-r--r-- | usr.sbin/Makefile | 6 |
7 files changed, 18 insertions, 7 deletions
diff --git a/etc/Makefile b/etc/Makefile index 15e5a37..1a71b48 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -59,7 +59,7 @@ BIN1+= hosts.lpd printcap BIN1+= ${.CURDIR}/../usr.bin/mail/misc/mail.rc .endif -.if ${MK_MAN} != "no" +.if ${MK_MAN_UTILS} != "no" BIN1+= ${.CURDIR}/../gnu/usr.bin/man/manpath/manpath.config .endif diff --git a/etc/periodic/weekly/Makefile b/etc/periodic/weekly/Makefile index fb8cf72..7f2eae2 100644 --- a/etc/periodic/weekly/Makefile +++ b/etc/periodic/weekly/Makefile @@ -11,7 +11,7 @@ FILES= 340.noid \ FILES+= 310.locate .endif -.if ${MK_MAN} != "no" +.if ${MK_MAN_UTILS} != "no" FILES+= 320.whatis 330.catman .endif diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile index c300b33..a57ffc7 100644 --- a/gnu/usr.bin/Makefile +++ b/gnu/usr.bin/Makefile @@ -45,7 +45,7 @@ _grep= grep _texinfo= texinfo .endif -.if ${MK_MAN} != "no" +.if ${MK_MAN_UTILS} != "no" _man= man .endif diff --git a/share/man/Makefile b/share/man/Makefile index f1929dc..524235c 100644 --- a/share/man/Makefile +++ b/share/man/Makefile @@ -9,10 +9,12 @@ SUBDIR= man1 man3 man4 man5 man6 man7 man8 man9 MAKEWHATIS?= makewhatis makedb: +.if ${MK_MAN_UTILS} != "no" ${MAKEWHATIS} ${DESTDIR}${BINDIR}/man .if ${MK_OPENSSL} != "no" ${MAKEWHATIS} ${DESTDIR}${BINDIR}/openssl/man .endif +.endif .include "${.CURDIR}/../Makefile.inc" .include <bsd.subdir.mk> diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 777ff36..f320694 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -524,7 +524,8 @@ MK_${var}_SUPPORT:= yes # MK_* options whose default value depends on another option. # .for vv in \ - GSSAPI/KERBEROS + GSSAPI/KERBEROS \ + MAN_UTILS/MAN .if defined(WITH_${vv:H}) && defined(WITHOUT_${vv:H}) .error WITH_${vv:H} and WITHOUT_${vv:H} can't both be set. .endif diff --git a/usr.bin/Makefile b/usr.bin/Makefile index f143a48..7068f74 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -118,7 +118,7 @@ SUBDIR= alias \ m4 \ ${_mail} \ ${_make} \ - makewhatis \ + ${_makewhatis} \ mesg \ minigzip \ ministat \ @@ -251,7 +251,7 @@ _at= at _atm= atm .endif -.if ${MK_MAN} != "no" +.if ${MK_MAN_UTILS} != "no" _catman= catman .endif @@ -303,6 +303,10 @@ _msgs= msgs _make= make .endif +.if ${MK_MAN_UTILS} != "no" +_makewhatis= makewhatis +.endif + .if ${MK_NETCAT} != "no" _nc= nc .endif diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index 4cb5709..44f20a4 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -91,7 +91,7 @@ SUBDIR= ${_ac} \ mailwrapper \ makefs \ ${_makemap} \ - manctl \ + ${_manctl} \ memcontrol \ mergemaster \ mfiutil \ @@ -324,6 +324,10 @@ _nscd= nscd _lpr= lpr .endif +.if ${MK_MAN_UTILS} != "no" +_manctl= manctl +.endif + .if ${MK_NETGRAPH} != "no" _flowctl= flowctl _lmcconfig= lmcconfig |