summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-07-09 20:10:37 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-07-09 20:10:37 -0400
commit730ce6b8aca77b77385aa894d234cbde5fcbce37 (patch)
tree4d849c7bb704fb79054dea31f2c77aa40eec9ca4
parent5527b4bc8ce7de60123eb28789ddef54aa48a378 (diff)
specs: use pattern rules rather than suffix rules
This allows target to rebuild when included .xml files are changed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--specs/xmlrules.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/specs/xmlrules.in b/specs/xmlrules.in
index ddfaa319..c5727527 100644
--- a/specs/xmlrules.in
+++ b/specs/xmlrules.in
@@ -44,16 +44,16 @@ CLEANFILES = $(spec_DATA)
SUFFIXES = .xml .ps .pdf .txt .html
-.xml.txt:
+%.txt: %.xml $(dist_spec_DATA)
$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) txt $<
-.xml.html:
+%.html: %.xml $(dist_spec_DATA)
$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) xhtml-nochunks $<
-.xml.pdf:
+%.pdf: %.xml $(dist_spec_DATA)
$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop pdf $<
-.xml.ps:
+%.ps: %.xml $(dist_spec_DATA)
$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop ps $<
endif HAVE_XMLTO