]> gitweb.michael.orlitzky.com - dead/htsn.git/blobdiff - makefile
Bump to v0.1.1 and allow >= network-2.6.
[dead/htsn.git] / makefile
index a0d4de75757bdeb7b9b11b565d0a098802793491..0c0048ece689489d14b184293ad271138cdae740 100644 (file)
--- a/makefile
+++ b/makefile
@@ -4,7 +4,7 @@ TESTSUITE_BIN = dist/build/testsuite/testsuite
 SRCS := $(shell find src/ -type f -name '*.hs')
 TEST_SRCS := $(shell find test/ -type f -name '*.hs')
 
-.PHONY : dist hlint
+.PHONY : dist doc hlint
 
 $(BIN): $(PN).cabal $(SRCS)
        runghc Setup.hs clean
@@ -18,12 +18,12 @@ 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    \
-                               --executables \
-                               --hyperlink-source
+       runghc Setup.hs hscolour --all
+       runghc Setup.hs haddock --all \
+                               --hyperlink-source \
+                               --haddock-options="--ignore-all-exports"
 
 clean:
        runghc Setup.hs clean
@@ -40,7 +40,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"     \