summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-05-29 12:00:58 +0200
committerDaniel Mack <daniel@zonque.org>2015-05-29 12:00:58 +0200
commit6096d9ccc3f0b963010a47febce7e44c8632c23b (patch)
tree7d9c50949e1ecd09ccc111d312a41acae491ca04
parent355ff449007df8be192ac316ab314599f56b2241 (diff)
Makefile: make custom-entities.ent depend on Makefile.am
When Makefile.am is modified, make sure custom-entities.ent is rebuilt. After all, $(substitutions) is defined there, so changes of that variable must be reflected in the resulting file.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index e4a86168ba..e18bb5cd00 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6602,7 +6602,7 @@ EXTRA_DIST += \
# ------------------------------------------------------------------------------
if ENABLE_MANPAGES
-man/custom-entities.ent: configure.ac
+man/custom-entities.ent: Makefile.am 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))))') \