X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=2061f444e91d607cb8ef8f8d5bb98c66422dd353;hb=a3726f89f2c7116a4e8329f8ecbe90b8ac5dc220;hp=2d46895cc0c020349e2e9a5d55b2dcb6a330fc5b;hpb=909e781852e3566fcaa16e156437ebe5bfc89e02;p=hath.git diff --git a/makefile b/makefile index 2d46895..2061f44 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,7 @@ BIN = dist/build/hath/hath TESTSUITE_BIN = dist/build/testsuite/testsuite -.PHONY : test +.PHONY : test dist $(BIN): src/*.hs runghc Setup.hs clean @@ -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