1 .PHONY : test publish_doc doc src_html hlint
3 # There's onlt one '$' in the awk script, but we have to double-money
5 PN := $(shell grep 'name:' *.cabal | awk '{ print $$2 }')
6 BIN := dist/build/$(PN)/$(PN)
10 runghc Setup.hs configure --user --flags=${FLAGS}
20 # Neither 'haddock' nor 'hscolour' seem to work properly.
22 runghc Setup.hs hscolour --executables
23 runghc Setup.hs haddock --internal \
27 dist/build/autogen: $(BIN)
30 test: dist/build/autogen
31 runghc -i"src" -i"dist/build/autogen" test/TestSuite.hs