(Quoting Laurence Lane:)
[oweals/tinc.git] / debian / rules
index 34fcb9bab863c0ee2206c1c5c7b56f987a9a7c28..91c6ac636f2d5191dcde74e42093bb55d9acc485 100644 (file)
@@ -32,7 +32,7 @@ install: build
        dh_clean -k
        dh_installdirs
 
        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
        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