[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36

John Goerzen jgoerzen at complete.org
Fri Apr 23 15:08:32 UTC 2010


The following commit has been merged in the master branch:
commit 6d51330d27972b3e8717124fd564ca96e842d258
Author: John Goerzen <jgoerzen at complete.org>
Date:   Thu Apr 6 13:41:37 2006 +0100

    Build docs with Cabal instead of manually
    
    Manual build was using the Hugs docs, which have ifdefed out some
    functions.

diff --git a/Makefile b/Makefile
index 6ce77ce..3c7706e 100644
--- a/Makefile
+++ b/Makefile
@@ -48,12 +48,14 @@ doctmp:
 	mkdir doctmp
 
 .PHONY: doc
-doc: $(LHSCONVSOURCES) hugsbuild
+doc: $(LHSCONVSOURCES) setup
 	-rm -rf html
-	mkdir html
-	haddock $(HADDOCKARGS) --package=MissingH \
-	   --dump-interface=html/MissingH.haddock \
-	   -t 'MissingH API Manual' -h -o html $(HUGSCONVSOURCES) $(LHSCONVSOURCES)
+	./setup configure
+	./setup haddock
+#	haddock $(HADDOCKARGS) --package=MissingH \
+#	   --dump-interface=html/MissingH.haddock \
+#	   -t 'MissingH API Manual' -h -o html $(HUGSCONVSOURCES) $(LHSCONVSOURCES)
+	mv dist/doc/html .
 
 .PHONY: hugsbuild
 

-- 
haskell-testpack



More information about the Pkg-haskell-commits mailing list