X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=a2327ddde0be85c268a774f7a0825cda75e9e2a0;hb=72d597df08493474acd291dcc8b43409c686b3c4;hp=7acee98ad4c7db71e0c7346c7b5ae5e21086dcab;hpb=35061a4e3cc150d3dc800ae3b2a4ad6ebe06112f;p=dead%2Fhtsn-import.git diff --git a/makefile b/makefile index 7acee98..a2327dd 100644 --- a/makefile +++ b/makefile @@ -9,15 +9,17 @@ $(BIN): $(PN).cabal $(SRCS) runghc Setup.hs build profile: $(PN).cabal $(SRCS) - runghc Setup.hs configure --user --enable-executable-profiling --prefix=/ + runghc Setup.hs configure --user \ + --enable-executable-profiling \ + --prefix=/ runghc Setup.hs build doc: $(PN).cabal $(SRCS) runghc Setup.hs configure --user --prefix=/ - runghc Setup.hs hscolour --executables - runghc Setup.hs haddock --internal \ - --executables \ - --hyperlink-source + runghc Setup.hs hscolour --all + runghc Setup.hs haddock --all \ + --hyperlink-source \ + --haddock-options="--ignore-all-exports" # # Testing. @@ -52,6 +54,9 @@ clean: rm -f *.xml rm -rf tmp rm -f schemagen/*.dtd + find ./ -name '*.prof' -delete + find ./ -name '*.o' -delete + find ./ -name '*.hi' -delete #