summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-07-17 18:17:14 +0200
committerHarald Hoyer <harald@redhat.com>2012-07-17 20:45:20 +0200
commite4d9640961362dae47dd8a4d97dfe7e9436395cd (patch)
treec91d0dd972c244afc19638fe28a7f4c21e8c89fc
parentcee530bb23b78c0dfd18b0c2718cfe41286396df (diff)
Makefile.am: fixed dependencies for man/index.html
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 4e3b360593..b8ec740e05 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