[med-svn] [seqan] 04/14: Revert "Fix symlinks"

Andreas Tille tille at debian.org
Tue Jul 26 07:29:21 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 b41426daa8a062b7a27f6b571626763135b98efa
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jul 26 09:28:16 2016 +0200

    Revert "Fix symlinks"
    
    This reverts commit 5c8838d4674523d3f45dc747c568af71a5d74b62.
---
 debian/rules | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2caa01e..2e77814 100755
--- a/debian/rules
+++ b/debian/rules
@@ -51,8 +51,9 @@ override_dh_auto_clean:
 	fi
 	rm -rf orig
 
-override_dh_installman:
-	for bin in `ls $(CURDIR)/debian/$(pkgapps)/usr/lib/seqan/bin` ; do \
+override_dh_link:
+	dh_link
+	for bin in `ls $(CURDIR)/$(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 ; \
@@ -61,12 +62,12 @@ override_dh_installman:
 	    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)/debian/$(pkgapps)/usr/lib/seqan/bin/*.sh` ; do \
+	for bin in `ls $(CURDIR)/$(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