]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - makefile
Add the initial implementation of TSN.XML.ScheduleChanges.
[dead/htsn-import.git] / makefile
index a2327ddde0be85c268a774f7a0825cda75e9e2a0..75035159d68c96f2a256c76abb03e6fdb911f4ae 100644 (file)
--- 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"     \