chiark / gitweb /
build-sys: hide error message from grep
[elogind.git] / Makefile.am
index 6f886425e7ccc53344a6c7f57de579c4a19e69e4..bf703813d043b1cbabc56c05141a7a55d27f3793 100644 (file)
@@ -673,9 +673,9 @@ noinst_DATA += \
 CLEANFILES += \
        man/index.html
 
-$(builddir)/man/index.html: $(XML_FILES:.xml=.html) $(top_srcdir)/make-man-index.py
+man/index.html: make-man-index.py $(XML_FILES)
        $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
-       $(PYTHON) $(top_srcdir)/make-man-index.py $(XML_FILES) > $@
+       $(PYTHON) $^ > $@
 
 EXTRA_DIST += \
        man/index.html