From df0350a67c595166a8bb39a4800e3d70c4d236de Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 13 Mar 2010 00:19:05 +0000 Subject: [PATCH] tools: doc building fixes --- Makefile | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 14f1f4e66..004dcf7c7 100644 --- a/Makefile +++ b/Makefile @@ -28,8 +28,9 @@ VIEWPS=open VIEWPDF=open PRINT=lpr +MAIN=hledger.hs SOURCEFILES:= \ - hledger.hs \ + $(MAIN) \ [A-Z]*hs \ Commands/[A-Z]*hs \ Ledger/[A-Z]*hs @@ -300,22 +301,20 @@ site: push # We munge haddock and hoogle into a rough but useful framed layout. # For this to work the hoogle cgi must be built with base target "main". # XXX move the framed index building into haddock: ? -apidocs: haddock #hoogle +apidocs: haddock hscolour #hoogle sed -i -e 's%^>