From: Michal Sekletar Date: Thu, 12 Nov 2015 12:31:32 +0000 (+0100) Subject: build-sys: fix dependencies X-Git-Tag: v228~44^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=100582b8cc89b165bc49914d2a04fe5e4ff5cfa6;p=thirdparty%2Fsystemd.git build-sys: fix dependencies update-man-list needs man/custom-entities.ent. Bug is nicely reproducible when running make update-man-list. --- diff --git a/Makefile.am b/Makefile.am index b13473d0d54..3e5d7b49b17 100644 --- a/Makefile.am +++ b/Makefile.am @@ -725,8 +725,8 @@ SOURCE_XML_FILES = ${patsubst %,$(top_srcdir)/%,$(filter-out man/systemd.directi # This target should only be run manually. It recreates Makefile-man.am # file in the source directory based on all man/*.xml files. Run it after # adding, removing, or changing the conditional in a man page. -update-man-list: $(top_srcdir)/tools/make-man-rules.py $(XML_GLOB) - $(AM_V_GEN)$(PYTHON) $^ > $(top_srcdir)/Makefile-man.tmp +update-man-list: $(top_srcdir)/tools/make-man-rules.py $(XML_GLOB) man/custom-entities.ent + $(AM_V_GEN)$(PYTHON) $< $(XML_GLOB) > $(top_srcdir)/Makefile-man.tmp $(AM_V_at)mv $(top_srcdir)/Makefile-man.tmp $(top_srcdir)/Makefile-man.am @echo "Makefile-man.am has been regenerated"