summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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