X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=7e097877ad6982f435373c986584a91d2fa0e548;hb=60aea8c7765bf2382b1d24d039f3951e00434e3c;hp=a0d4de75757bdeb7b9b11b565d0a098802793491;hpb=39a22e11952c31a1f058c1e457be471381eff6fa;p=dead%2Fhtsn.git diff --git a/makefile b/makefile index a0d4de7..7e09787 100644 --- 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,11 @@ 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 \ + --haddock-options="--ignore-all-exports" clean: runghc Setup.hs clean