From 19b76cfadd9f4ac69d9a11e91335078b1435f374 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Thu, 31 Jan 2008 19:00:40 -0700
Subject: [PATCH] Makefile: add 'upload-tarballs' target, using a
 foolscap-based file-transfer tool

---
 Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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
 
-- 
2.45.2