]> gitweb.michael.orlitzky.com - dead/htsn-common.git/blobdiff - makefile
Fix the tar command in the makefile.
[dead/htsn-common.git] / makefile
index 5f49b4b098a298a196008d1da644daa9ba545704..46f232aa57d45e087831e7893f87e1fc914dd432 100644 (file)
--- a/makefile
+++ b/makefile
@@ -2,7 +2,7 @@ PN = htsn-common
 SRCS := $(shell find src/ -type f -name '*.hs')
 BINS = $(patsubst src%.hs, dist/build%.o, $(SRCS))
 
-.PHONY : dist hlint
+.PHONY : dist doc hlint
 
 $(BINS): $(PN).cabal $(SRCS)
        echo $(BINS)
@@ -17,7 +17,7 @@ profile: $(PN).cabal $(SRCS)
                                   --prefix=/
        runghc Setup.hs build
 
-doc: $(PN).cabal $(SRCS)
+doc:
        runghc Setup.hs configure --user --prefix=/
        runghc Setup.hs hscolour --executables
        runghc Setup.hs haddock --internal    \
@@ -32,7 +32,7 @@ clean:
 
 dist:
        runghc Setup.hs configure --prefix=/
-       runghc Setup.hs sdist
+       TAR_OPTIONS="--format=ustar" runghc Setup.hs sdist
 
 hlint:
        hlint --ignore="Use camelCase"     \