]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Makefile: add 'upload-tarballs' target, using a foolscap-based file-transfer tool
authorBrian Warner <warner@allmydata.com>
Fri, 1 Feb 2008 02:00:40 +0000 (19:00 -0700)
committerBrian Warner <warner@allmydata.com>
Fri, 1 Feb 2008 02:00:40 +0000 (19:00 -0700)
Makefile

index 143e0757876202c95d142154805e8cbd25168c46..ca4a1afc31925d10ba2b7f0bf6dae8817905981a 100644 (file)
--- 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