summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 6f886425e7..bf703813d0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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