Clarify conflict policy for /path and /usr/path
[debian-policy.git] / docbook.mk
blob18e09b7f736e272c44d60bf851fec8935d9160bb
1 XSLDIR ?= ../xsl
2 XSLTPROC = xsltproc --nonet --xinclude
4 %.html: %.xml $(XSLDIR)/html-single.xsl
5 $(XSLTPROC) $(XSLPARAMS) $(XSLDIR)/html-single.xsl $< > $@
7 %.txt: %.xml $(XSLDIR)/text.xsl
8 $(XSLTPROC) $(XSLPARAMS) $(XSLDIR)/text.xsl $< > $@.html
9 links -dump $@.html | perl -pe 's/[\r\0]//g' > $@
10 rm -f $@.html
12 %.txt.gz: %.txt
13 gzip -ncf9 $< > $@