X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=75035159d68c96f2a256c76abb03e6fdb911f4ae;hb=83bad08d7f28143cdaae42156d951b421fa15a8a;hp=a2327ddde0be85c268a774f7a0825cda75e9e2a0;hpb=ea83c59276daa4b9db5a50de0aaa564130a93d40;p=dead%2Fhtsn-import.git diff --git a/makefile b/makefile index a2327dd..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=/ @@ -40,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" \