From: Zooko O'Whielacronx Date: Tue, 1 May 2007 19:41:35 +0000 (-0700) Subject: improve "the Debian way" build process to produce foolscap .debs X-Git-Tag: allmydata-tahoe-0.2.0~30 X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/provisioning?a=commitdiff_plain;h=e10524e75bf718e65fb6aa9fc83f52c4f9fc2091;p=tahoe-lafs%2Ftahoe-lafs.git improve "the Debian way" build process to produce foolscap .debs --- diff --git a/GNUmakefile b/GNUmakefile index 07b187d8..49aa9f77 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -211,13 +211,28 @@ setup-feisty: deb-dapper: setup-dapper - fakeroot debian/rules binary + fakeroot debian/rules binary && + make -C src/foolscap debian-dapper && + mv src/python-foolscap*.deb .. && + echo "The newly built .deb packages are in the parent directory from here." + deb-sid: setup-sid - fakeroot debian/rules binary + fakeroot debian/rules binary && + make -C src/foolscap debian-sid && + mv src/python-foolscap*.deb .. && + echo "The newly built .deb packages are in the parent directory from here." + deb-edgy: setup-edgy - fakeroot debian/rules binary + fakeroot debian/rules binary && + make -C src/foolscap debian-edgy && + mv src/python-foolscap*.deb .. && + echo "The newly built .deb packages are in the parent directory from here." + deb-feisty: setup-feisty - fakeroot debian/rules binary + fakeroot debian/rules binary && + make -C src/foolscap debian-feisty && + mv src/python-foolscap*.deb .. && + echo "The newly built .deb packages are in the parent directory from here." increment-deb-version: debchange --newversion $(DEBSTRING) $(DEBCOMMENTS) diff --git a/README b/README index c3664b27..deb55098 100644 --- a/README +++ b/README @@ -72,6 +72,12 @@ DEPENDENCIES: http://peak.telecommunity.com/DevCenter/EasyInstall#installation-instructions + Note: the build process will automatically download and install setuptools + if it is not present. However, if an old, incompatible version of + setuptools (< v0.6c3) is present then the build will fail. Therefore, if + the build fails due to setuptools not being compatible, then either + upgrade or uninstall your version of setuptools and then try again. + * Python PyOpenSSL (0.6 or later) (secure transport layer) http://pyopenssl.sourceforge.net @@ -112,8 +118,9 @@ INSTALLING: The Debian Way: If you're running on a debian system, use 'make deb-dapper', 'make - deb-sid', 'make deb-edgy', or 'make deb-feisty' to construct a debian - package named 'allmydata-tahoe', which you can then install. + deb-sid', 'make deb-edgy', or 'make deb-feisty' to construct two debian + packages named 'allmydata-tahoe' and 'python-foolscap' which you can then + install. The Python Way: