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