]> git.stg.codes - stg.git/blob - doc/help/Makefile
72c3bef9c249a3dd976271978f8b506c95e6c1d0
[stg.git] / doc / help / Makefile
1 .PHONY: all clean
2
3 all: book/index.html help.pdf
4
5 book/index.html: ch*.xml help.xml
6         mkdir -p book/images
7         cp images/*.png book/images/
8         xsltproc -o book/ --xinclude ../xslt/html/chunk.xsl help.xml
9
10 help.pdf: ch*.xml help.xml
11         dblatex -b xetex -I. help.xml
12
13 clean:
14         rm -r book
15         rm help.pdf