From: Michael Orlitzky Date: Wed, 8 Jan 2014 01:14:12 +0000 (-0500) Subject: Make the 'doc' target phony. X-Git-Tag: 0.0.4~2 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhtsn.git;a=commitdiff_plain;h=85952e8f3b018233ef3aff980219d8e97f5e31ba Make the 'doc' target phony. --- diff --git a/makefile b/makefile index a0d4de7..7f9a199 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,7 +18,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 \