-doc: src_html
- haddock $(DOCS) --html --use-unicode \
- --odir=doc/html/ --title="spline3" \
- --source-module="src/%{MODULE/.//}.html" \
- --source-entity="src/%{MODULE/.//}.html#%{NAME}" \
- src/*.hs src/Tests/*.hs
+dist/doc: $(PN).cabal $(SRCS)
+ runghc Setup.hs configure --user --prefix=/ --flags=${FLAGS}
+ runghc Setup.hs hscolour --all
+ runghc Setup.hs haddock --all \
+ --hyperlink-source \
+ --haddock-options="--ignore-all-exports"