]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - makefile
Define an export list in Misc, clean up imports.
[spline3.git] / makefile
index 78bf454cac68b6c2bec8f11b8863a224c8f9cd75..850626fdc4261e8c46133b28d1c1fd3dd07baa50 100644 (file)
--- a/makefile
+++ b/makefile
@@ -2,7 +2,7 @@ BIN           = dist/build/spline3/spline3
 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
@@ -36,11 +36,13 @@ 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_html
+doc: src/*.hs
+       runghc Setup.hs configure --user --flags=${FLAGS}
        runghc Setup.hs hscolour --executables
        runghc Setup.hs haddock --internal    \
                                --executables \