]> gitweb.michael.orlitzky.com - dead/halcyon.git/commitdiff
Add a 'dist' makefile target.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 16 Jul 2013 16:24:26 +0000 (12:24 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 16 Jul 2013 16:24:26 +0000 (12:24 -0400)
Capitalize "Twitter" in the cabal file.

makefile
twat.cabal

index 6ef9b5779c5e75b53be88d7d386e31bd16f88119..986de5c65e6fc0f1f92a71bf8353c8596516699c 100644 (file)
--- 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
index 0d307f445941ae514483a9ddf95a2d79da73ea40..2c58edcaadea266682d729691c34b6afed298171 100644 (file)
@@ -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