]> gitweb.michael.orlitzky.com - hath.git/commitdiff
Add a 'doc' makefile target.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 7 Jun 2013 22:46:43 +0000 (18:46 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 7 Jun 2013 22:46:43 +0000 (18:46 -0400)
makefile

index 2d46895cc0c020349e2e9a5d55b2dcb6a330fc5b..14f4c7def998d6b12e1445d250468bd0e85345e7 100644 (file)
--- a/makefile
+++ b/makefile
@@ -13,6 +13,13 @@ profile: src/*.hs
        runghc Setup.hs configure --user --enable-executable-profiling
        runghc Setup.hs build
 
+doc: src/*.hs
+       runghc Setup.hs configure --user
+       runghc Setup.hs hscolour --executables
+       runghc Setup.hs haddock --internal    \
+                               --executables \
+                               --hyperlink-source
+
 clean:
        runghc Setup.hs clean