X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhtsn-common.git;a=blobdiff_plain;f=makefile;h=556200d4dd5947eef49e844fe5eeabbd2e40e748;hp=5f49b4b098a298a196008d1da644daa9ba545704;hb=364709b7a01a7c2b601ff2eae8237c815a858838;hpb=47a56f78983c6c328936e240c30d2f47d26425fe diff --git a/makefile b/makefile index 5f49b4b..556200d 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 \