X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=cf911a0fe4b818c6723d6c51869311ebbb175bd8;hp=a48e05bd8750c0ada0feed7f8594b40a6872fca3;hb=dca6219e04505e9fa10b32e71059ce2abfae1dad;hpb=9c4fa6ed1069e98db5f01a5d1056b443a04cc7d9 diff --git a/Makefile.am b/Makefile.am index a48e05bd8..cf911a0fe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -668,8 +668,8 @@ noinst_DATA += \ CLEANFILES += \ man/index.html -man/index.html: $(XML_FILES) - $(AM_V_GEN)$(PYTHON) $(top_srcdir)/make-man-index.py $(XML_FILES) > $@ +man/index.html: $(XML_FILES) $(top_srcdir)/make-man-index.py + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/make-man-index.py $(XML_FILES) > $@ || rm $@ endif endif