From df5fa12e41c2780cb10a5860ac471ac146c013aa Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 8 Nov 2008 22:41:20 +0000 Subject: [PATCH] generate html and pdf from README --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 63bfe06e9..d2d8054d6 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,14 @@ Clean: clean clean-docs # docs +docs: html pdf api-doc-frames + +html: + rst2html README >doc/index.html + +pdf: + rst2pdf README -o doc/README.pdf + MAIN=hledger.hs api-doc-dir: @@ -97,7 +105,7 @@ hoogleweb: hoogleindex # munge haddock and hoogle into a rough but useful framed layout # ensure that the hoogle cgi is built with base target "main" -api-doc-frames docs: api-doc-with-source hoogleweb +api-doc-frames: api-doc-with-source hoogleweb echo "Converting api docs to frames" ; \ sed -i -e 's%^>