on master help sign in
Build Haddock and Hoogle files

Haddock will generate links to Hackage where appropriate.

commitc0bc35353e0aec158dea5cb8f97b7a4bf4c91665 authorDavid Christiansen <david@davidchristiansen.dk> dateTue 26 Feb 2013, 11:17 (14 years ago) parent195e30b
1 file changed+4
Makefile+4
Makefile+4
@@ -23,5 +23,9 @@ relib: .PHONY
2323linecount : .PHONY
2424 wc -l src/Idris/*.hs src/Core/*.hs src/IRTS/*.hs src/Pkg/*.hs
2525
26+#Note: this doesn't yet link to Hackage properly
27+doc: .PHONY
28+ $(CABAL) haddock --executables --hyperlink-source --html --hoogle --html-location="http://hackage.haskell.org/packages/archive/\$$pkg/latest/doc/html" --haddock-options="--title Idris"
29+
2630.PHONY:
2731