From: Brian Warner <warner@allmydata.com>
Date: Wed, 11 Jul 2007 21:00:47 +0000 (-0700)
Subject: Makefile: factor out deb-foolscap-ARCH to a separate target
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/%22file:/statistics?a=commitdiff_plain;h=92b4ee1ab55260d5b4646785b397c31b51a676e3;p=tahoe-lafs%2Ftahoe-lafs.git

Makefile: factor out deb-foolscap-ARCH to a separate target
---

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."