[med-svn] [seqan] 09/14: Fix symlinks

Andreas Tille tille at debian.org
Wed Jan 20 10:39:39 UTC 2016


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

tille pushed a commit to branch master
in repository seqan.

commit 5c8838d4674523d3f45dc747c568af71a5d74b62
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jan 20 08:38:40 2016 +0100

    Fix symlinks
---
 debian/rules | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2e77814..2caa01e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -51,9 +51,8 @@ override_dh_auto_clean:
 	fi
 	rm -rf orig
 
-override_dh_link:
-	dh_link
-	for bin in `ls $(CURDIR)/$(pkgapps)/usr/lib/seqan/bin` ; do \
+override_dh_installman:
+	for bin in `ls $(CURDIR)/debian/$(pkgapps)/usr/lib/seqan/bin` ; do \
 	    if [ -x $(CURDIR)/$(pkgapps)/usr/lib/seqan/bin/$${bin} ] ; then \
 	        ln -s ../lib/seqan/bin/$${bin} $(CURDIR)/$(pkgapps)/usr/bin/$${bin} ; \
 	    fi ; \
@@ -62,12 +61,12 @@ override_dh_link:
 	    fi ; \
 	done
 	# we generate only those manpages where binaries are linked to /usr/bin
-	# since dh_link is executed after dh_installmanpages this is done here
 	$(CURDIR)/debian/generate_manpages
+	dh_installman
 
 override_dh_fixperms:
 	dh_fixperms
-	for bin in `ls $(CURDIR)/$(pkgapps)/usr/lib/seqan/bin/*.sh` ; do \
+	for bin in `ls $(CURDIR)/debian/$(pkgapps)/usr/lib/seqan/bin/*.sh` ; do \
 	    chmod +x $(CURDIR)/$(pkgapps)/usr/lib/seqan/bin/$${bin} ; \
 	done
 

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



More information about the debian-med-commit mailing list