From 4e276dcf45ea0491fbf31284941f3b5c91eeae16 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 27 Dec 2011 10:22:49 +0100 Subject: Makefile use a common_depend variable --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit