X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=207770af85709f27903aeefe7c48b661ca24434b;hb=7701e386e295b11c7b02d7b6f7418fac4575f21e;hp=df34c79710162399f5bc13263f6624b0708f2d76;hpb=401406065b2329ffb591ff952d46b1a4d9207c52;p=dead%2Fhtsn-import.git diff --git a/makefile b/makefile index df34c79..207770a 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=/ @@ -16,10 +19,10 @@ profile: $(PN).cabal $(SRCS) 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.