summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-05-30 00:59:22 +0200
committerDaniel Mack <daniel@zonque.org>2015-05-30 01:04:18 +0200
commit0689798a9009f1be25d162a533e0d14094e9b5bd (patch)
treea8863670099021e31dc5c7acd95d327ef6ee86e5 /Makefile.am
parentce1daea1d1d9380c6ff71f0ee9f9e4eba20c9f2a (diff)
Revert "Makefile: make custom-entities.ent depend on Makefile.am"
This reverts commit 6096d9cc. As discussed on the mailing list, we should accept some formal incorrectness in the dependency here, and not rebuild the man pages every time Makefile.am changes - xsltproc is simply too expensive. Instead, let's move man/custom-entities.ent from DISTCLEANFILES to CLEANFILES, so a 'make clean' is sufficient to actually make changes in Makefile.am efficient for the contents of the man pages.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 06512ae384..38e5d74203 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6597,13 +6597,13 @@ EXTRA_DIST += \
# ------------------------------------------------------------------------------
if ENABLE_MANPAGES
-man/custom-entities.ent: Makefile.am configure.ac
+man/custom-entities.ent: configure.ac
$(AM_V_GEN)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)(echo '<?xml version="1.0" encoding="utf-8" ?>' && \
printf '$(subst '|,<!ENTITY ,$(subst =, ",$(subst |',">\n,$(substitutions))))') \
> $@ # '
-DISTCLEANFILES += \
+CLEANFILES += \
man/custom-entities.ent
XSLTPROC_FLAGS = \