]> git.meshlink.io Git - meshlink/commitdiff
(Quoting Laurence Lane:)
authorIvo Timmermans <ivo@lychnis.net>
Sun, 20 Aug 2000 23:07:18 +0000 (23:07 +0000)
committerIvo Timmermans <ivo@lychnis.net>
Sun, 20 Aug 2000 23:07:18 +0000 (23:07 +0000)
The prefix is correctly set for /usr, but is
overridden with the current make install. DESTDIR is the clean way to
relocate the installation into the debian/tmp build dir.

debian/rules

index 34fcb9bab863c0ee2206c1c5c7b56f987a9a7c28..91c6ac636f2d5191dcde74e42093bb55d9acc485 100644 (file)
@@ -32,7 +32,7 @@ install: build
        dh_clean -k
        dh_installdirs
 
-       $(MAKE) install prefix=`pwd`/debian/tmp/usr
+       $(MAKE) install DESTDIR=`pwd`/debian/tmp/usr
        mkdir -p `pwd`/debian/tmp/etc/tinc/example
        cp doc/tinc.conf.sample `pwd`/debian/tmp/etc/tinc/example/tinc.conf
        ln -s /usr/share/doc/tinc/README.Debian `pwd`/debian/tmp/etc/tinc/example/README