From fe88cc599bcafccbfa3582183d515ba06fa32b4d Mon Sep 17 00:00:00 2001 From: Geoff Rehmet Date: Sun, 5 Jun 1994 21:57:16 +0000 Subject: [PATCH] Make these Makefiles work properly when NOMAN is defined. (I wish they just used bsd.prog.mk) --- gnu/usr.bin/man/apropos/Makefile | 4 ++++ gnu/usr.bin/man/whatis/Makefile | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gnu/usr.bin/man/apropos/Makefile b/gnu/usr.bin/man/apropos/Makefile index 729c831c398..f353eb7d1e8 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 +.elif !target(maninstall) +maninstall: +.endif .endif diff --git a/gnu/usr.bin/man/whatis/Makefile b/gnu/usr.bin/man/whatis/Makefile index 495598f411f..b3cd6a8b34a 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 +.else +maninstall: +.endif .endif