[systemd-commits] Makefile.am

Harald Hoyer harald at kemper.freedesktop.org
Tue Jul 17 11:45:29 PDT 2012


 Makefile.am |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit e4d9640961362dae47dd8a4d97dfe7e9436395cd
Author: Harald Hoyer <harald at redhat.com>
Date:   Tue Jul 17 18:17:14 2012 +0200

    Makefile.am: fixed dependencies for man/index.html

diff --git a/Makefile.am b/Makefile.am
index 4e3b360..b8ec740 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -669,9 +669,11 @@ noinst_DATA += \
 CLEANFILES += \
 	man/index.html
 
-man/index.html: $(XML_FILES) $(top_srcdir)/make-man-index.py
+$(builddir)/man/index.html: $(XML_FILES:.xml=.html) $(top_srcdir)/make-man-index.py
 	$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
-	$(AM_V_GEN)$(PYTHON) $(top_srcdir)/make-man-index.py $(XML_FILES) > $@ || rm $@
+	$(PYTHON) $(top_srcdir)/make-man-index.py $(XML_FILES) > $@ || rm $@
+
+EXTRA_DIST += man/index.html
 endif
 
 endif



More information about the systemd-commits mailing list