DOCTESTS_BIN = dist/build/doctests/doctests
TESTSUITE_BIN = dist/build/testsuite/testsuite
-.PHONY : test publish_doc doc src_html hlint
+.PHONY : test publish_doc doc dist hlint
$(BIN): src/*.hs
runghc Setup.hs clean
test: $(BIN) $(DOCTESTS_BIN) $(TESTSUITE_BIN)
runghc Setup.hs test
-src_html:
- util/hscolour_srcs
+dist:
+ runghc Setup.hs configure
+ runghc Setup.hs sdist
# Neither 'haddock' nor 'hscolour' seem to work properly.
doc: src/*.hs