From: Ivo Timmermans Date: Sun, 20 Aug 2000 23:07:18 +0000 (+0000) Subject: (Quoting Laurence Lane:) X-Git-Tag: import-tinc-1.1~785^2~860 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=861e808fef1f6796d837215f9ad135fb4cb50f5c;p=meshlink (Quoting Laurence Lane:) 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. --- diff --git a/debian/rules b/debian/rules index 34fcb9ba..91c6ac63 100644 --- a/debian/rules +++ b/debian/rules @@ -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