From a9d61f30f1fe1eac4e28c009ad0dcde9d63d9fdc Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Fri, 25 Apr 1997 20:20:21 +0000 Subject: Fixed `make depend'. The previous change reduced it to making only config.h (which isn't used directly). Added a comment about the indirect use of config.h. --- gnu/usr.bin/man/lib/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/usr.bin') diff --git a/gnu/usr.bin/man/lib/Makefile b/gnu/usr.bin/man/lib/Makefile index e2e33802067d..0419db38043b 100644 --- a/gnu/usr.bin/man/lib/Makefile +++ b/gnu/usr.bin/man/lib/Makefile @@ -6,7 +6,9 @@ CFLAGS+= -DSTDC_HEADERS CLEANFILES+= config.h SRCS= gripes.c util.c -all depend: config.h +# Kludge to create config.h for other modules. The library itself doesn't +# depend on config.h. +all beforedepend: config.h config.h: ${.CURDIR}/config.h_dist ${.CURDIR}/../Makefile.inc sed -e 's,%apropos%,${apropos},' -e 's,%whatis%,${whatis},' \ -- cgit v1.3