| 1 |
all: git.html building.html code.html architecture.png architecture.svg code-layout.png code-layout.svg \ |
| 2 |
add_function.html builtin.html distribution.html mcmc_move.html binding.html tests.html |
| 3 |
|
| 4 |
clean: |
| 5 |
-@rm -f *.html *.xhtml REAMDE.xml *.fo *.pdf *~ |
| 6 |
|
| 7 |
|
| 8 |
%.svg: %.dot |
| 9 |
dot -Tsvg < $^ > $@ |
| 10 |
|
| 11 |
%.png: %.dot |
| 12 |
dot -Tpng < $^ > $@ |
| 13 |
|
| 14 |
%.xml: %.tut.xml |
| 15 |
./add_screen.pl < $^ > $@ |
| 16 |
|
| 17 |
%.html: %.xml docbook-html.xsl |
| 18 |
xsltproc --nonet --xinclude docbook-html.xsl $*.xml > $@ |
| 19 |
|
| 20 |
# Removed arguments --toc -N |
| 21 |
%.html: %.md |
| 22 |
pandoc -s $*.md --css pandoc.css > $@ |
| 23 |
|
| 24 |
%.xhtml: %.xml docbook-xhtml.xsl |
| 25 |
xsltproc --nonet --xinclude docbook-xhtml.xsl $*.xml > $@ |
| 26 |
|
| 27 |
%.pdf: %.xhtml |
| 28 |
wkhtmltopdf -B 10 -T 10 -R 10 -L 10 -s Letter $*.xhtml $*.pdf |
| 29 |
|
| 30 |
#xalan -XSLT /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl -IN %.xml |