aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 729c831c398d3..f353eb7d1e816 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 495598f411f61..b3cd6a8b34a13 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