summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-06-10 20:42:56 +0200
committerDaniel Mack <daniel@zonque.org>2015-06-10 20:42:56 +0200
commit747ca69b5d984b130c4b983281f9b51f3b710340 (patch)
tree55825f7ef571b619494297c86f544ad38a08ff91 /Makefile.am
parent4061eed4d91226f1f75e79350c5e1bdd4529d578 (diff)
build-sys: make man/systemd.directives.xml depend on man/custom-entities.ent
Currently, the following command sequence fails: make distclean ./autogen.sh c make distcheck That's because the command invoked to build man/systemd.directives.xml needs man/custom-entities.ent to function, which itself isn't a dependency. The $(filter-out $<,$^) logic used to filter out everything from the prerequisites except for the first word, which doesn't work anymore now. Use $(SOURCE_XML_FILES) instead.
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 e98e8b821a..9b42f23709 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -714,9 +714,9 @@ man/systemd.index.xml: $(top_srcdir)/tools/make-man-index.py $(NON_INDEX_XML_FIL
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)$(PYTHON) $< $@ $(filter-out $<,$^)
-man/systemd.directives.xml: $(top_srcdir)/tools/make-directive-index.py $(SOURCE_XML_FILES)
+man/systemd.directives.xml: $(top_srcdir)/tools/make-directive-index.py man/custom-entities.ent $(SOURCE_XML_FILES)
$(AM_V_at)$(MKDIR_P) $(dir $@)
- $(AM_V_GEN)$(PYTHON) $< $@ $(filter-out $<,$^)
+ $(AM_V_GEN)$(PYTHON) $< $@ $(SOURCE_XML_FILES)
CLEANFILES += \
man/systemd.index.xml \