X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=tools%2Fhtdocs%2FMakefile;h=84043d2c25a5439664a170f646107b5d0fd81875;hb=1e7d39d145cc36121f176b758f5436670287b62c;hp=ef73fd955e1c7486d8ee4b00c02aa99fce727885;hpb=12ebc5bba30b95351e27b4bb59fe26d708ef5333;p=mkws-moved-to-github.git diff --git a/tools/htdocs/Makefile b/tools/htdocs/Makefile index ef73fd9..84043d2 100644 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@ -62,6 +62,9 @@ help: # For a description of pandoc's markdown format, see: # 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 +# %.html: %.markdown rm -f $@ pandoc --standalone --toc -c mkws-doc.css $< | sed '/^$//d' > $@