1 DOCS = README.html README.odt README.pdf \
2 whitepaper.html whitepaper.odt whitepaper.pdf
4 # Default rule when "make" is invoked without a target
5 **default**: README.html whitepaper.html
7 INSTALLABLE = README.html whitepaper.html
8 INSTALLED = $(INSTALLABLE:%=../tools/htdocs/%)
17 # For a description of pandoc's markdown format, see:
18 # http://johnmacfarlane.net/pandoc/demo/example9/pandocs-markdown.html -->
20 # for older pandoc (<1.9) run first:
21 # perl -i.bak -npe 's/"(Authors|Subjects)": "(.*?)"/"$1": "test"/' tools/htdocs/whitepaper.markdown
25 pandoc --standalone --toc -c mkws-doc.css $< | sed '/^<col width="[0-9]*%" \/>$//d' > $@
30 pandoc --standalone $< -o $@
33 # ### In order to compile the whitepaper, which has tables, to PDF,
34 # you will need to install the Debian package
35 # texlive-latex-recommended
38 pandoc --standalone $< -o $@