]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Makefile: make custom-entities.ent depend on Makefile.am
authorDaniel Mack <daniel@zonque.org>
Fri, 29 May 2015 10:00:58 +0000 (12:00 +0200)
committerDaniel Mack <daniel@zonque.org>
Fri, 29 May 2015 10:00:58 +0000 (12:00 +0200)
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.

Makefile.am

index e4a86168baa5ca30015140161e8e443536321752..e18bb5cd004c6082e7bc735935c0e890ecfc9c18 100644 (file)
@@ -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))))') \