summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-16 19:10:57 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-16 19:10:57 +0200
commit6fa9a6109250d964db1f0690150b657db056ef81 (patch)
tree4f334273d64dbc8199d6f66d3ad27c3f6050aca5 /Makefile.am
parent92e1ecc62b8ad38d8dcd60baa996fc47feb04bc5 (diff)
build-sys: make building of index.html fail sensibly
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index a48e05bd87..cf911a0fe4 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