.PHONY : test publish_doc doc src_html hlint
lwn-epub: src/*.hs
runghc Setup.hs clean
runghc Setup.hs configure --user --flags=${FLAGS}
runghc Setup.hs build
clean:
runghc Setup.hs clean
rm -f dist/
rm -f *.prof
rm -rf .hpc
# Neither 'haddock' nor 'hscolour' seem to work properly.
doc: src_html
runghc Setup.hs hscolour --executables
runghc Setup.hs haddock --internal \
--executables \
--hyperlink-source
test:
runghc -i"src" test/TestSuite.hs