summaryrefslogtreecommitdiff
path: root/xmlto.mak
blob: bdc263a4529eba591c0c3fb5cb30afbfbc718622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Makefile rules for using xmlto

%.pdf %.dvi %.ps %.epub %.txt %.fo: %.xml
	xmlto $(XMLTOFLAGS) $(subst .,,$(suffix $@)) $<

%.pdf %.dvi %.ps: %.fo
	xmlto $(XMLTOFLAGS) $(subst .,,$(suffix $@)) $<

%.html: %.xml
	xmlto $(XMLTOFLAGS) html-nochunks $<

%.xhtml: %.xml
	xmlto $(XMLTOFLAGS) xhtml-nochunks $<