summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-01-13 15:08:28 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-01-13 15:08:28 -0400
commit9ad52ef67ccf42654110cde6735409c75fdc1daf (patch)
treedc171e39535599b7dbb511861a4d6a84e92a805b
parent66aac77467fd897bb5a148c8126804464097b582 (diff)
add hackage target
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 93d4567ec..c7e5e5e12 100644
--- a/Makefile
+++ b/Makefile
@@ -100,4 +100,8 @@ sdist: clean
@cabal sdist
@mv git-annex.cabal.orig git-annex.cabal
+# Upload to hackage.
+hackage: sdist
+ @cabal upload dist/*.tar.gz
+
.PHONY: $(bins) test install