[med-svn] [pftools] 01/01: Make more sense of a separate test script

Andreas Tille tille at debian.org
Wed Mar 22 15:29:28 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 6d808883cb8a2f7869b8cd38ef0eb76e45fef74c
Author: Andreas Tille <tille at debian.org>
Date:   Wed Mar 22 16:29:06 2017 +0100

    Make more sense of a separate test script
---
 debian/rules | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index d7e3675..690c3e0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,10 +34,13 @@ override_dh_installexamples:
 	sed -i \
 	    -e 's:^\./\([gh]top\):/usr/bin/pf\1:' \
 	    -e 's:^\./:/usr/bin/:' \
-	    -e 's:\([;|]\) *\./:\1 /usr/bin/:g' \
-	    -e "1a cp -a /usr/lib/$(DEBPKGNAME)/[A-Z]* ." \
-	    -e "1a cp -a /usr/lib/$(DEBPKGNAME)/*.prf ." \
-	    -e "1a cp -a /usr/lib/$(DEBPKGNAME)/*.seq ." \
+	    -e '/^[^e]/s:\([;|]\) *\./:\1 /usr/bin/:g' \
+	    -e 's:^/bin/rm sh3.fsp:/bin/rm -f sh3.fsp:' \
+	    -e "1a ln -s /usr/lib/$(DEBPKGNAME)/[CGM]* ." \
+	    -e "1a ln -s /usr/lib/$(DEBPKGNAME)/*.cmp ." \
+	    -e "1a ln -s /usr/lib/$(DEBPKGNAME)/*.prf ." \
+	    -e "1a ln -s /usr/lib/$(DEBPKGNAME)/*.seq ." \
+	    -e "1a ln -sf /usr/lib/$(DEBPKGNAME)/*sh3.* ." \
 	    debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/examples/test.sh
 
 override_dh_auto_test:

-- 
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