summaryrefslogtreecommitdiff
path: root/man/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'man/local.mk')
-rw-r--r--man/local.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/man/local.mk b/man/local.mk
index a4117b110..f4b213f7e 100644
--- a/man/local.mk
+++ b/man/local.mk
@@ -57,7 +57,7 @@ $(ALL_MANS): $(mandeps)
# are handled by converting $name to $prog on the following code.
# $(ALL_MANS) includes the $(EXTRA_MANS) so even the programs that are not
# being installed will have the right dependency for the manpages.
-CLEANFILES += man/dynamic-deps.mk
+DISTCLEANFILES += man/dynamic-deps.mk
man/dynamic-deps.mk: Makefile
$(AM_V_GEN)rm -f $@ $@-t
$(AM_V_at)for man in $(ALL_MANS); do \
@@ -75,11 +75,10 @@ man/dynamic-deps.mk: Makefile
echo $$man: src/$$prog$(EXEEXT);; \
esac \
done > $@-t \
- && chmod a-w $@-t \
&& mv $@-t $@
# Include the generated man dependencies.
--include man/dynamic-deps.mk
+@AMDEP_TRUE@@am__include@ man/dynamic-deps.mk
.x.1:
$(AM_V_GEN)name=`echo $@ | sed 's|.*/||; s|\.1$$||'` || exit 1; \