1 # Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com
3 DOCS = README.html README.odt README.pdf \
4 whitepaper.html whitepaper.odt whitepaper.pdf \
5 library-configuration.html library-configuration.odt library-configuration.pdf
7 INSTALLABLE = README.html whitepaper.html library-configuration.html mkws-doc.css
8 INSTALLED = $(INSTALLABLE:%=../tools/htdocs/%)
22 # For a description of pandoc's markdown format, see:
23 # http://johnmacfarlane.net/pandoc/demo/example9/pandocs-markdown.html -->
25 # for older pandoc (<1.9) run first:
26 # perl -i.bak -npe 's/"(Authors|Subjects)": "(.*?)"/"$1": "test"/' tools/htdocs/whitepaper.markdown
30 pandoc --standalone --toc -c mkws-doc.css $< | sed '/^<col width="[0-9]*%" \/>$//d' > $@
35 pandoc --standalone $< -o $@
38 # ### In order to compile the whitepaper, which has tables, to PDF,
39 # you will need to install the Debian package
40 # texlive-latex-recommended
43 pandoc --standalone $< -o $@
49 distclean: clean uninstall
52 @echo "make [ all | install | clean | distclean ]"