diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-07-09 20:42:16 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-07-09 20:42:16 -0400 |
commit | bd8cb49382a4277d6294a4fceda89b8d0769c5ba (patch) | |
tree | 901ef0161fb2b6565ffa84bc9d49690be8ebd972 | |
parent | 3191a58b3cd4c2ac3325bda0aa250f6cb973eac2 (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/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/specs/Makefile.am b/specs/Makefile.am index bff8cd5..3b552c1 100644 --- a/specs/Makefile.am +++ b/specs/Makefile.am @@ -93,16 +93,16 @@ CLEANFILES = $(doc_DATA) SUFFIXES = .xml .ps .pdf .txt .html -.xml.txt: +%.txt: %.xml $(dist_doc_DATA) $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) txt $< -.xml.html: +%.html: %.xml $(dist_doc_DATA) $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) xhtml-nochunks $< -.xml.pdf: +%.pdf: %.xml $(dist_doc_DATA) $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop pdf $< -.xml.ps: +%.ps: %.xml $(dist_doc_DATA) $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop ps $< endif HAVE_XMLTO |