(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.
This commit is contained in:
parent
d3f41b803b
commit
861e808fef
1 changed files with 1 additions and 1 deletions
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -32,7 +32,7 @@ install: build
|
||||||
dh_clean -k
|
dh_clean -k
|
||||||
dh_installdirs
|
dh_installdirs
|
||||||
|
|
||||||
$(MAKE) install prefix=`pwd`/debian/tmp/usr
|
$(MAKE) install DESTDIR=`pwd`/debian/tmp/usr
|
||||||
mkdir -p `pwd`/debian/tmp/etc/tinc/example
|
mkdir -p `pwd`/debian/tmp/etc/tinc/example
|
||||||
cp doc/tinc.conf.sample `pwd`/debian/tmp/etc/tinc/example/tinc.conf
|
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
|
ln -s /usr/share/doc/tinc/README.Debian `pwd`/debian/tmp/etc/tinc/example/README
|
||||||
|
|
Loading…
Reference in a new issue