mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-07 21:28:04 +02:00
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>
This commit is contained in:
parent
5527b4bc8c
commit
730ce6b8ac
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue