summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-12-27 10:22:49 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-12-27 10:22:49 +0100
commit4e276dcf45ea0491fbf31284941f3b5c91eeae16 (patch)
tree02b850f415a8664a465f772b2ce6a1051d40c6b6 /Makefile
parent09662b50b8054967fbc4744ac57badd8541dc6b6 (diff)
downloadmutti-web-4e276dcf45ea0491fbf31284941f3b5c91eeae16.tar.gz
mutti-web-4e276dcf45ea0491fbf31284941f3b5c91eeae16.tar.bz2
mutti-web-4e276dcf45ea0491fbf31284941f3b5c91eeae16.zip
Makefile use a common_depend variable
Diffstat (limited to 'Makefile')
-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