1 DOCS = README.html README.odt README.pdf \
2 whitepaper.html whitepaper.odt whitepaper.pdf
4 INSTALLABLE = README.html whitepaper.html mkws-doc.css
5 INSTALLED = $(INSTALLABLE:%=../tools/htdocs/%)
19 # For a description of pandoc's markdown format, see:
20 # http://johnmacfarlane.net/pandoc/demo/example9/pandocs-markdown.html -->
22 # for older pandoc (<1.9) run first:
23 # perl -i.bak -npe 's/"(Authors|Subjects)": "(.*?)"/"$1": "test"/' tools/htdocs/whitepaper.markdown
27 pandoc --standalone --toc -c mkws-doc.css $< | sed '/^<col width="[0-9]*%" \/>$//d' > $@
32 pandoc --standalone $< -o $@
35 # ### In order to compile the whitepaper, which has tables, to PDF,
36 # you will need to install the Debian package
37 # texlive-latex-recommended
40 pandoc --standalone $< -o $@