diff options
author | petere <petere@0070b5ef-2f16-0410-befa-9a02bd1d6ddb> | 2006-10-09 10:32:14 +0000 |
---|---|---|
committer | petere <petere@0070b5ef-2f16-0410-befa-9a02bd1d6ddb> | 2006-10-09 10:32:14 +0000 |
commit | 25bbae9861484c750e833fa5040a22c218aa09ae (patch) | |
tree | b8eacf01248170574b4c806f6dd78407ffc01828 /debian/rules | |
parent | cac0a14e15ebf80bc25a5eee3647b66a630a5d2b (diff) | |
download | ntp-25bbae9861484c750e833fa5040a22c218aa09ae.tar.gz |
Use DESTDIR support in makefiles
git-svn-id: svn://svn.debian.org/pkg-ntp/ntp/trunk@115 0070b5ef-2f16-0410-befa-9a02bd1d6ddb
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules index 8ab8ce7..9ba1567 100755 --- a/debian/rules +++ b/debian/rules @@ -52,11 +52,11 @@ install: build-stamp dh_clean -k dh_installdirs - $(MAKE) install bindir=`pwd`/debian/ntp/usr/sbin prefix=`pwd`/debian/ntp/usr + $(MAKE) install DESTDIR=$(CURDIR)/debian/ntp - # move the user-space programs from /usr/sbin to /usr/bin - for file in ntpq ntpdc ntptrace; do \ - mv debian/ntp/usr/sbin/$$file debian/ntp/usr/bin/$$file || exit; \ + # move the administrator programs from /usr/bin to /usr/sbin + for file in ntpdate ntp-wait ntpd ntptime tickadj ntp-keygen; do \ + mv debian/ntp/usr/bin/$$file debian/ntp/usr/sbin/$$file || exit; \ done install -D -m 0755 debian/ntp.ifup debian/ntp/etc/network/if-up.d/ntp |