chiark / gitweb /
Makefile.am: MKDIR_P man for man/index.html
[elogind.git] / Makefile.am
index eb5eb9e85ab509fa23ed716a2199fdc951d89cc5..4e3b3605939428c35cace7012e13502a89f039ed 100644 (file)
@@ -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