summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-07-17 16:39:29 +0200
committerHarald Hoyer <harald@redhat.com>2012-07-17 16:42:42 +0200
commitb694b00b450673f4bc2d47aebeb0c091e66d1b25 (patch)
tree0a712a5dad67853b766a64a03bd4f795fd7448d2 /Makefile.am
parentfdc0d8468a2322ff5f5696d1e79c41ed8daa3ef3 (diff)
Makefile.am: MKDIR_P man for man/index.html
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