summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-01-11 15:49:02 +0000
committerru <ru@FreeBSD.org>2002-01-11 15:49:02 +0000
commit3f4f85365be57a63c7265d54f5b6d7bd534b176b (patch)
treed969e0da9d8f2f1a8ed4d8b51e09352160bdd7ae /sys/conf
parentb57a6501b2476f8cb21852f5d9be785eec98d261 (diff)
downloadFreeBSD-src-3f4f85365be57a63c7265d54f5b6d7bd534b176b.zip
FreeBSD-src-3f4f85365be57a63c7265d54f5b6d7bd534b176b.tar.gz
Drop <bsd.man.mk> support from <bsd.kmod.mk>.
Not objected to by: -current
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kmod.mk18
1 files changed, 2 insertions, 16 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index dbec48f..09e89e1 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -32,8 +32,6 @@
#
# KMODUNLOAD Command to unload a kernel module [/sbin/kldunload]
#
-# NOMAN KLD does not have a manual page if set.
-#
# PROG The name of the kernel module to build.
# If not supplied, ${KMOD}.o is used.
#
@@ -63,7 +61,7 @@
# put the stuff into the right "distribution".
#
# install:
-# install the program and its manual pages; if the Makefile
+# install the kernel module; if the Makefile
# does not itself define the target install, the targets
# beforeinstall and afterinstall may also be used to cause
# actions immediately before and after the install target
@@ -77,7 +75,6 @@
#
# bsd.obj.mk: clean, cleandir and obj
# bsd.dep.mk: cleandepend, depend and tags
-# bsd.man.mk: maninstall
#
KMODLOAD?= /sbin/kldload
@@ -176,24 +173,17 @@ ${KMOD}.kld: ${OBJS}
.endif
-.if !defined(NOMAN)
-.if 0
-MAN?= ${KMOD}.4
-.endif
-.include <bsd.man.mk>
-.else
.if !target(all-man)
all-man: _SUBDIR
.endif
.if !target(maninstall)
maninstall: _SUBDIR
.endif
-.endif
_ILINKS=@ machine
.MAIN: all
-all: objwarn ${PROG} all-man _SUBDIR
+all: objwarn ${PROG} _SUBDIR
beforedepend: ${_ILINKS}
@rm -f .depend
@@ -276,11 +266,7 @@ realinstall: _SUBDIR
.endif
install: afterinstall _SUBDIR
-.if !defined(NOMAN)
-afterinstall: realinstall maninstall
-.else
afterinstall: realinstall
-.endif
realinstall: beforeinstall
.endif
OpenPOWER on IntegriCloud