summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2004-03-03 12:56:04 +0000
committerPeter Palfrader <peter@palfrader.org>2004-03-03 12:56:04 +0000
commitee3ed492eed23e5fd3d0888a1d9387108060db7c (patch)
tree9c8622c31737b5597948e927f1b66a6b4282990b /debian/rules
parent732ff6e27216127b0ee8ca431bac81a2a9a360ab (diff)
downloadtor-ee3ed492eed23e5fd3d0888a1d9387108060db7c.tar.gz
tor-ee3ed492eed23e5fd3d0888a1d9387108060db7c.zip
Always enable DataDirectory, requires dpatch
svn:r1222
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index b39a96cf91..8646e93c32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,9 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CFLAGS = -Wall -g
+export PACKAGE=tor
+include /usr/share/dpatch/dpatch.make
+
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
@@ -22,6 +25,7 @@ endif
# INSTALL_PROGRAM += -s
#endif
+configure: patch-stamp
config.status: configure
dh_testdir
CFLAGS="$(CFLAGS)" ./configure \
@@ -47,7 +51,7 @@ build-stamp: config.status
touch build-stamp
-clean:
+clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp