summaryrefslogtreecommitdiffstats
path: root/doc/Makefile
blob: 40932b19d4c0cc95fa83ab551f102022d5f3dae2 (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 --nonet --stringparam body.font.family Helvetica --stringparam fop.extensions 1 /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl $< > $@

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

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