]> git.stg.codes - stg.git/blob - doc/help/Makefile
Checkout submodules in GitHub Actions.
[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 --stringparam chunker.output.encoding "utf-8" -o book/ --xinclude /usr/share/sgml/docbook/xsl-stylesheets/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