]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - makefile
Try to clean up the makefile 'doc' target.
[dead/htsn-import.git] / makefile
index 1a585c0d9b6cf308ca68432d02c434b872b86a14..e15a4e462c1b516e2b62dd8feddad239a220b4ca 100644 (file)
--- a/makefile
+++ b/makefile
@@ -16,9 +16,8 @@ profile: $(PN).cabal $(SRCS)
 
 doc: $(PN).cabal $(SRCS)
        runghc Setup.hs configure --user --prefix=/
-       runghc Setup.hs hscolour --executables
-       runghc Setup.hs haddock --internal    \
-                               --executables \
+       runghc Setup.hs hscolour --all
+       runghc Setup.hs haddock --all    \
                                --hyperlink-source
 
 #
@@ -52,9 +51,9 @@ clean:
        runghc Setup.hs clean
        rm -f *.log
        rm -f *.xml
-       rm *.prof
        rm -rf tmp
        rm -f schemagen/*.dtd
+       find ./ -name '*.prof' -delete
        find ./ -name '*.o' -delete
        find ./ -name '*.hi' -delete