summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6084198..710c431 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,8 @@ pages=$(shell sed -n 's/^.*filename="\([^"]*\)".*/\1/p' main.xml)
pages_gen=$(pages:%.xml=%$(suffix))
+common_depend=main.xml $(wildcard xsl/*.xsl)
+
DEFAULT_VERBOSITY=0
# verbosity stuff
@@ -28,9 +30,9 @@ services$(suffix): buchhalterservice.xml
%.png: %.svg
$(V_GEN) $(svg2png) $< > $@
-%$(suffix): %.xml %.xsl main.xml xsl/*
+%$(suffix): %.xml %.xsl $(common_depend)
$(V_XSLT) $(xsltproc) $< > $@
-%$(suffix): %.xml main.xml xsl/*
+%$(suffix): %.xml $(common_depend)
$(V_XSLT) $(xsltproc) $< > $@
.PHONY: buchhalterservice.xml