From fb75bb377ada9c34a1dc1c87e9aee301ee72e715 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 27 Dec 2014 21:35:39 +0000 Subject: [PATCH] Build system: debian/rules: set DESTDIR (not prefix). Signed-off-by: Ian Jackson --- debian/changelog | 1 + debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 768c9f7..ea8280e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ secnet (0.4.0~beta2~) unstable; urgency=low * polypath: Improve logging and debug output. * Portability fix: Build where size_t is not compatible with int. * Makefile: support DESTDIR. + * debian/rules: set DESTDIR (not prefix). -- diff --git a/debian/rules b/debian/rules index da2a871..365d18f 100755 --- a/debian/rules +++ b/debian/rules @@ -32,7 +32,7 @@ install: build dh_installdirs # Add here commands to install the package into debian/ - $(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install + $(MAKE) DESTDIR=`pwd`/debian/`dh_listpackages` install # Build architecture-independent files here. binary-indep: build install -- 2.11.0