X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhtsn-common.git;a=blobdiff_plain;f=makefile;h=46f232aa57d45e087831e7893f87e1fc914dd432;hp=5f49b4b098a298a196008d1da644daa9ba545704;hb=refs%2Fheads%2Fmaster;hpb=47a56f78983c6c328936e240c30d2f47d26425fe diff --git a/makefile b/makefile index 5f49b4b..46f232a 100644 --- 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" \