X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile;h=f009f82c243d264406cb397200ff15ac74648b8f;hb=20cc407a460346e4baf84ec4af56e7e924950150;hp=89787b517950ba1c36496d81fc9ce5dac4ed070a;hpb=056c38abacd4493f268c89047220970c412e11d7;p=mkws-moved-to-github.git diff --git a/doc/Makefile b/doc/Makefile index 89787b5..f009f82 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,7 +1,14 @@ -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 -INSTALLABLE = README.html whitepaper.html +INSTALLABLE = index.html README.html mkws-manual.html mkws-developer.html mkws-doc.css INSTALLED = $(INSTALLABLE:%=../tools/htdocs/%) install: $(INSTALLED) @@ -12,27 +19,22 @@ uninstall: ../tools/htdocs/%: % rm -f $@ cp -p $? $@ - chmod -w $@ + 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 '/^