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

Makefile.am

index 06512ae3840981daa2bcfbfac450de50842bc0ec..38e5d74203ecaf055e1f11d60451c27058c98c39 100644 (file)
@@ -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 = \