runghc Setup.hs build
profile: $(PN).cabal $(SRCS)
- runghc Setup.hs configure --user --enable-executable-profiling --prefix=/
+ runghc Setup.hs configure --user \
+ --enable-executable-profiling \
+ --prefix=/
runghc Setup.hs build
doc: $(PN).cabal $(SRCS)
runghc Setup.hs configure --user --prefix=/
- runghc Setup.hs hscolour --executables
- runghc Setup.hs haddock --internal \
- --executables \
- --hyperlink-source
+ runghc Setup.hs hscolour --all
+ runghc Setup.hs haddock --all \
+ --hyperlink-source \
+ --haddock-options="--ignore-all-exports"
#
# Testing.
rm -f *.xml
rm -rf tmp
rm -f schemagen/*.dtd
+ find ./ -name '*.prof' -delete
+ find ./ -name '*.o' -delete
+ find ./ -name '*.hi' -delete
#