X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=75035159d68c96f2a256c76abb03e6fdb911f4ae;hb=4fe75185430116f2139dd64e97267254eda9d445;hp=e15a4e462c1b516e2b62dd8feddad239a220b4ca;hpb=9d2fd74804d0b7720fd8d0b68beafc6c2777c5d1;p=dead%2Fhtsn-import.git diff --git a/makefile b/makefile index e15a4e4..7503515 100644 --- a/makefile +++ b/makefile @@ -8,7 +8,10 @@ $(BIN): $(PN).cabal $(SRCS) runghc Setup.hs configure --user --prefix=/ runghc Setup.hs build -profile: $(PN).cabal $(SRCS) +# The $(BIN) dependency means that we should build once normally +# before attempting the profiling build (this is required for some +# reason). +profile: $(PN).cabal $(SRCS) $(BIN) runghc Setup.hs configure --user \ --enable-executable-profiling \ --prefix=/ @@ -18,7 +21,8 @@ doc: $(PN).cabal $(SRCS) runghc Setup.hs configure --user --prefix=/ runghc Setup.hs hscolour --all runghc Setup.hs haddock --all \ - --hyperlink-source + --hyperlink-source \ + --haddock-options="--ignore-all-exports" # # Testing. @@ -39,7 +43,7 @@ test: $(BIN) $(TESTSUITE_BIN) # dist: runghc Setup.hs configure --prefix=/ - runghc Setup.hs sdist + TAR_OPTIONS="--format=ustar" runghc Setup.hs sdist hlint: hlint --ignore="Use camelCase" \