X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhalcyon.git;a=blobdiff_plain;f=makefile;h=986de5c65e6fc0f1f92a71bf8353c8596516699c;hp=6ef9b5779c5e75b53be88d7d386e31bd16f88119;hb=93577603f6df06e4627ca13a6f5fe412b28dc817;hpb=62b4e5715d31747ffd526c54f6697736dcbf163e diff --git a/makefile b/makefile index 6ef9b57..986de5c 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,7 @@ BIN = dist/build/twat/twat TESTSUITE_BIN = dist/build/testsuite/testsuite -.PHONY : doc test +.PHONY : dist doc test $(BIN): src/*.hs src/Twitter/*.hs runghc Setup.hs clean @@ -18,7 +18,6 @@ clean: test: $(BIN) $(TESTSUITE_BIN) runghc Setup.hs test -# Neither 'haddock' nor 'hscolour' seem to work properly. doc: runghc Setup.hs hscolour --executables runghc Setup.hs haddock --internal \ @@ -30,3 +29,7 @@ hlint: --ignore="Redundant bracket" \ --color \ src + +dist: + runghc Setup.hs configure + runghc Setup.hs sdist