Make these Makefiles work properly when NOMAN is defined.

(I wish they just used bsd.prog.mk)
This commit is contained in:
Geoff Rehmet 1994-06-05 21:57:16 +00:00
parent 67bc1dabe4
commit fe88cc599b
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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