From 1415fa8a0557c49c861076a71783655222fabe3a Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Thu, 29 Mar 2007 12:07:24 -0700
Subject: [PATCH] probably fix the debian dapper packaging to include pyfec and
 crypto.. sid still needs to be fixed

---
 dapper/debian/rules | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dapper/debian/rules b/dapper/debian/rules
index 78a33809..bd02df2d 100644
--- a/dapper/debian/rules
+++ b/dapper/debian/rules
@@ -8,6 +8,8 @@
 # This is the debhelper compatability version to use.
 export DH_COMPAT=4
 
+PREFIX=$(shell pwd)/debian/allmydata-tahoe/usr
+
 build: build-stamp
 build-stamp:
 	dh_testdir
@@ -31,9 +33,9 @@ install: build
 	dh_clean -k
 	dh_installdirs
 
-	## Python 2.4
-	python2.4 setup.py build
-	python2.4 setup.py install --prefix=debian/allmydata-tahoe/usr
+	cd src/pyfec && python2.4 setup.py install --prefix=$(PREFIX)
+	cd src/Crypto && python2.4 setup.py install --prefix=$(PREFIX)
+	python2.4 setup.py install --prefix=$(PREFIX)
 
 
 # Build architecture-independent files here.
-- 
2.45.2