summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-03-27 11:50:44 +0000
committerru <ru@FreeBSD.org>2001-03-27 11:50:44 +0000
commitc4573e0e9d71f188342c4eb2dd75df939602e825 (patch)
treed7a9108566ce95c0885b29c637dea7cc65bfd32a
parent89596e453852464f330543234ea7d0894c5fc287 (diff)
downloadFreeBSD-src-c4573e0e9d71f188342c4eb2dd75df939602e825.zip
FreeBSD-src-c4573e0e9d71f188342c4eb2dd75df939602e825.tar.gz
Reflect recent bsd.man.mk changes here, but do not assign the
default MAN=${KMOD}.4 value for now. This feature was broken before, and enabling it now would cause 92 Makefiles to fail.
-rw-r--r--sys/conf/kmod.mk13
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 7585dde..31d8f18 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -145,14 +145,17 @@ ${KMOD}.kld: ${OBJS}
${LD} ${LDFLAGS} -r -o ${.TARGET} ${OBJS}
.if !defined(NOMAN)
+.if 0
+MAN?= ${KMOD}.4
+.endif
.include <bsd.man.mk>
-.if !defined(_MANPAGES) || empty(_MANPAGES)
-MAN1= ${KMOD}.4
+.else
+.if !target(all-man)
+all-man: _SUBDIR
.endif
-
-.elif !target(maninstall)
+.if !target(maninstall)
maninstall: _SUBDIR
-all-man:
+.endif
.endif
_ILINKS=@ machine
OpenPOWER on IntegriCloud