summaryrefslogtreecommitdiffstats
path: root/doc/Makefile
blob: 233c2bda7f43b7433064e5677fcf8496709a7938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
SOURCES = *.xml

all : manual.pdf manual.html

%.fo: %.xml $(SOURCES)
	xsltproc --stringparam body.font.family Helvetica --stringparam fop.extensions 1 /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl $< > $@

%.html: %.xml $(SOURCES)
	xsltproc -o $@ /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl $<

%.pdf: %.fo
	fop -fo $< -pdf $@