Build system: debian/rules: set DESTDIR (not prefix).
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Dec 2014 21:35:39 +0000 (21:35 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 28 Dec 2014 16:09:39 +0000 (16:09 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
debian/rules

index 768c9f7..ea8280e 100644 (file)
@@ -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).
 
  --
 
index da2a871..365d18f 100755 (executable)
@@ -32,7 +32,7 @@ install: build
        dh_installdirs
 
        # Add here commands to install the package into debian/<packagename>
-       $(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install
+       $(MAKE) DESTDIR=`pwd`/debian/`dh_listpackages` install
 
 # Build architecture-independent files here.
 binary-indep: build install