From 92b4ee1ab55260d5b4646785b397c31b51a676e3 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Wed, 11 Jul 2007 14:00:47 -0700
Subject: [PATCH] Makefile: factor out deb-foolscap-ARCH to a separate target

---
 Makefile | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 47239733..49956c48 100644
--- a/Makefile
+++ b/Makefile
@@ -257,10 +257,19 @@ setup-deb: is-known-debian-arch
 	ln -s misc/$(TAHOE_ARCH)/debian debian
 	chmod +x debian/rules
 
-deb-ARCH: is-known-debian-arch setup-deb
-	fakeroot debian/rules binary
+deb-foolscap-ARCH: is-known-debian-arch
 	$(MAKE) -C src/foolscap debian-$(FOOLSCAP_ARCH)
 	mv src/python-foolscap*.deb ..
+
+# etch (current debian stable) has python-simplejson-1.3
+# sid (debian unstable) currently has python-simplejson 1.7.1
+# edgy has 1.3
+# feisty has 1.4
+# gutsy has 1.7.1
+
+deb-ARCH: is-known-debian-arch setup-deb
+	fakeroot debian/rules binary
+	$(MAKE) deb-foolscap-ARCH
 	echo
 	echo "The newly built .deb packages are in the parent directory from here."
 
-- 
2.45.2