X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=850626fdc4261e8c46133b28d1c1fd3dd07baa50;hb=8c7f684c5b1a6941a552d2101aff70fe1f9a23ec;hp=78bf454cac68b6c2bec8f11b8863a224c8f9cd75;hpb=205ed82460c2b8c3f94cc30a338f315baa315dbf;p=spline3.git diff --git a/makefile b/makefile index 78bf454..850626f 100644 --- 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 \