From 730ce6b8aca77b77385aa894d234cbde5fcbce37 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Fri, 9 Jul 2010 20:10:37 -0400 Subject: [PATCH] specs: use pattern rules rather than suffix rules This allows target to rebuild when included .xml files are changed. Signed-off-by: Gaetan Nadon --- specs/xmlrules.in | 8 ++++---- 1 file 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