]> gitweb.michael.orlitzky.com - dead/htsn-common.git/blobdiff - makefile
Add a little more documentation.
[dead/htsn-common.git] / makefile
index 5f49b4b098a298a196008d1da644daa9ba545704..556200d4dd5947eef49e844fe5eeabbd2e40e748 100644 (file)
--- 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    \