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%^>