X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile;h=461a904954aaa797c882cadf7627809bd24c0593;hb=cae7a6a607bc279421bfcc153b941eb0d680902a;hp=34dc62efc1931dd9a2d9ea870c5b70677ed5ffe2;hpb=84335fb90d7d8d3e4243743aca744a233a89d046;p=mkws-moved-to-github.git diff --git a/doc/Makefile b/doc/Makefile index 34dc62e..461a904 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,52 +1,54 @@ -# Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com - -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 -INSTALLABLE = README.html whitepaper.html mkws-doc.css -INSTALLED = $(INSTALLABLE:%=../tools/htdocs/%) +DOCS = index.html index.pdf \ + mkws-manual.html mkws-manual.pdf \ + mkws-developer.html mkws-developer.pdf \ + mkws-doc.css -install: $(INSTALLED) +INSTALLED = $(DOCS:%=../tools/htdocs/%) -uninstall: - rm -f $(INSTALLED) +all: $(INSTALLED) ../tools/htdocs/%: % rm -f $@ - cp -p $? $@ + cp $< $@ chmod ugo-w $@ -all: $(DOCS) - # 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 '/^