summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorcsgr <csgr@FreeBSD.org>1994-06-05 21:57:16 +0000
committercsgr <csgr@FreeBSD.org>1994-06-05 21:57:16 +0000
commit92a5206e4e3a60753dd1a54bd8b37623f04003ca (patch)
treee44a44c6d78888cb22c7b8ed501661a08eec072d /gnu
parent2bf3d34a8cc320a740838ab8d80b7fb521dc7950 (diff)
downloadFreeBSD-src-92a5206e4e3a60753dd1a54bd8b37623f04003ca.zip
FreeBSD-src-92a5206e4e3a60753dd1a54bd8b37623f04003ca.tar.gz
Make these Makefiles work properly when NOMAN is defined.
(I wish they just used bsd.prog.mk)
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/man/apropos/Makefile4
-rw-r--r--gnu/usr.bin/man/whatis/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/gnu/usr.bin/man/apropos/Makefile b/gnu/usr.bin/man/apropos/Makefile
index 729c831..f353eb7 100644
--- a/gnu/usr.bin/man/apropos/Makefile
+++ b/gnu/usr.bin/man/apropos/Makefile
@@ -39,5 +39,9 @@ install: ${TARG} maninstall
.include "../Makefile.inc"
.if make(maninstall) || make(install)
+.if !defined(NOMAN)
.include <bsd.man.mk>
+.elif !target(maninstall)
+maninstall:
+.endif
.endif
diff --git a/gnu/usr.bin/man/whatis/Makefile b/gnu/usr.bin/man/whatis/Makefile
index 495598f..b3cd6a8 100644
--- a/gnu/usr.bin/man/whatis/Makefile
+++ b/gnu/usr.bin/man/whatis/Makefile
@@ -36,5 +36,9 @@ install: ${TARG} maninstall
.include "../Makefile.inc"
.if make(maninstall) || make(install)
+.if !defined(NOMAN)
.include <bsd.man.mk>
+.else
+maninstall:
+.endif
.endif
OpenPOWER on IntegriCloud