From: Michael Orlitzky Date: Tue, 16 Jul 2013 16:24:26 +0000 (-0400) Subject: Add a 'dist' makefile target. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhalcyon.git;a=commitdiff_plain;h=93577603f6df06e4627ca13a6f5fe412b28dc817 Add a 'dist' makefile target. Capitalize "Twitter" in the cabal file. --- 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 diff --git a/twat.cabal b/twat.cabal index 0d307f4..2c58edc 100644 --- a/twat.cabal +++ b/twat.cabal @@ -9,7 +9,7 @@ homepage: http://michael.orlitzky.com/code/twat.php bug-reports: mailto:michael@orlitzky.com category: Math synopsis: - Twat twats tweets so you don't have to twitter. + Twat twats tweets so you don't have to Twitter. build-type: Simple executable twat