From: Brian Warner <warner@allmydata.com>
Date: Fri, 1 Feb 2008 02:00:40 +0000 (-0700)
Subject: Makefile: add 'upload-tarballs' target, using a foolscap-based file-transfer tool
X-Git-Url: https://git.rkrishnan.org/%5B/webapi.txt?a=commitdiff_plain;h=19b76cfadd9f4ac69d9a11e91335078b1435f374;p=tahoe-lafs%2Ftahoe-lafs.git

Makefile: add 'upload-tarballs' target, using a foolscap-based file-transfer tool
---

diff --git a/Makefile b/Makefile
index 143e0757..ca4a1afc 100644
--- a/Makefile
+++ b/Makefile
@@ -316,10 +316,14 @@ find-trailing-spaces:
 	$(PYTHON) misc/find-trailing-spaces.py -r src
 
 # TARBALL GENERATION
-.PHONY: tarballs
+.PHONY: tarballs upload-tarballs
 tarballs:
 	$(MAKE) make-version
 	$(PYTHON) setup.py sdist --formats=bztar,gztar,zip
+upload-tarballs:
+	for f in dist/allmydata-tahoe-*; do \
+	 xfer-client --furlfile ~/.tahoe-tarball-upload.furl $$f; \
+	done
 
 # DEBIAN PACKAGING