X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=doc%2FMakefile;h=54ddad4208f4f0af71d0e9c61e25123891f0a25c;hb=50c237596d2f1a53c2413056e73a70e085c8a94e;hp=171151b7d89ae234f1dca1f460843bfbd76cc277;hpb=570ee9f0cbae7e74b310445a4dd6744d70c0051b;p=mkws-moved-to-github.git diff --git a/doc/Makefile b/doc/Makefile index 171151b..54ddad4 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,35 +1,46 @@ -DOCS = README.html README.odt README.pdf \ - whitepaper.html whitepaper.odt whitepaper.pdf +# Copyright (c) 2013-2014 Index Data ApS. http://indexdata.com +# +# To build the PDFs, you will need these Debian packages: +# texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended + +DOCS = index.html index.pdf \ + README.html README.pdf \ + mkws-manual.html mkws-manual.pdf \ + mkws-developer.html mkws-developer.pdf -# Default rule when "make" is invoked without a target -**default**: README.html whitepaper.html +INSTALLED = $(DOCS:%=../tools/htdocs/%) -all: $(DOCS) +all: $(INSTALLED) # For a description of pandoc's markdown format, see: -# http://johnmacfarlane.net/pandoc/demo/example9/pandocs-markdown.html --> +# http://johnmacfarlane.net/pandoc/demo/example9/pandocs-markdown.html # for older pandoc (<1.9) run first: -# perl -i.bak -npe 's/"(Authors|Subjects)": "(.*?)"/"$1": "test"/' tools/htdocs/whitepaper.markdown +# perl -i.bak -npe 's/"(Authors|Subjects)": "(.*?)"/"$1": "test"/' tools/htdocs/mkws-manual.markdown # -%.html: %.markdown - rm -f $@ - pandoc --standalone --toc -c mkws-doc.css $< | sed '/^