[med-svn] [pftools] 07/10: Install now properly installs to /usr/bin - no symlinks needed

Andreas Tille tille at debian.org
Wed Mar 29 14:16:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository pftools.

commit b6b2f2275290ecef5bf0a09155d4d8123a7fbd37
Author: Andreas Tille <tille at debian.org>
Date:   Wed Mar 29 15:45:48 2017 +0200

    Install now properly installs to /usr/bin - no symlinks needed
---
 debian/rules | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index c59a47b..39bcecc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,11 +7,8 @@ DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
 %:
 	dh $@
 
-override_dh_link:
-	dh_link
-	for lnk in debian/$(DEBPKGNAME)/usr/bin/* ; do \
-	    ln -sf ../lib/$(DEBPKGNAME)/bin/`basename $${lnk}` $${lnk} ; \
-	done
+override_dh_auto_install:
+	dh_auto_install
 	# Avoid name spacing conflict with htop and consequently also rename gtop
 	mv debian/$(DEBPKGNAME)/usr/bin/gtop debian/$(DEBPKGNAME)/usr/bin/pfgtop
 	mv debian/$(DEBPKGNAME)/usr/bin/htop debian/$(DEBPKGNAME)/usr/bin/pfhtop

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pftools.git



More information about the debian-med-commit mailing list