summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-25 20:20:21 +0000
committerbde <bde@FreeBSD.org>1997-04-25 20:20:21 +0000
commit7b872f2073f55b4d50a0666f94a28a80bdc33c0e (patch)
treecb5424407dfa48271346eb9a86792fd320a8056b /gnu
parent4982a4556b7c8e54bcb2fe1a59437644d4d4d8e1 (diff)
downloadFreeBSD-src-7b872f2073f55b4d50a0666f94a28a80bdc33c0e.zip
FreeBSD-src-7b872f2073f55b4d50a0666f94a28a80bdc33c0e.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/man/lib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/man/lib/Makefile b/gnu/usr.bin/man/lib/Makefile
index e2e3380..0419db38 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},' \
OpenPOWER on IntegriCloud