XML source files should have paths starting with $(top_srcdir).
We can tell make to add the prefix automatically for us, by
specifying the python script and xml files as source files.

(Found by 'make distcheck'.)
---
Hi,
three small follow-up patches to the build system.

Zbyszek

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

diff --git Makefile.am Makefile.am
index aaa5ab0..e0b8c86 100644
--- Makefile.am
+++ Makefile.am
@@ -672,9 +672,9 @@ noinst_DATA += \
 CLEANFILES += \
        man/index.html
 
-man/index.html: $(XML_FILES) $(top_srcdir)/make-man-index.py
+man/index.html: make-man-index.py $(XML_FILES)
        $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
-       $(AM_V_GEN)$(PYTHON) $(top_srcdir)/make-man-index.py $(XML_FILES) > $@
+       $(AM_V_GEN)$(PYTHON) $^ > $@
 endif
 
 endif
-- 
1.7.11.1.282.g511ba53

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to