summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index eb5eb9e85a..4e3b360593 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -670,6 +670,7 @@ CLEANFILES += \
man/index.html
man/index.html: $(XML_FILES) $(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 $@
endif