[med-svn] [pftools] 01/10: Parallel build now possible due to automake; Test script changed via patch rather than in install script to enable build time testing also with old test suite from version 2.3
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 96b67489f10f0b18098849b0a438694d3d44b8c8
Author: Andreas Tille <tille at debian.org>
Date: Wed Mar 29 13:12:14 2017 +0200
Parallel build now possible due to automake; Test script changed via patch rather than in install script to enable build time testing also with old test suite from version 2.3
---
debian/rules | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/debian/rules b/debian/rules
index 9da1dce..0e5f3ce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
%:
- dh $@ --no-parallel
+ dh $@ # --no-parallel
override_dh_link:
dh_link
@@ -32,10 +32,6 @@ override_dh_installexamples:
mkdir -p debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/examples
mv debian/$(DEBPKGNAME)/usr/lib/$(DEBPKGNAME)/test.* debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/examples
sed -i \
- -e 's:^\./\([gh]top\):/usr/bin/pf\1:' \
- -e 's:^\./:/usr/bin/:' \
- -e '/^[^e]/s:\([;|]\) *\./:\1 /usr/bin/:g' \
- -e 's:^/bin/rm sh3.fsp:/bin/rm -f sh3.fsp:' \
-e "1a ln -sf /usr/lib/$(DEBPKGNAME)/[CGM]* ." \
-e "1a ln -sf /usr/lib/$(DEBPKGNAME)/*.cmp ." \
-e "1a ln -sf /usr/lib/$(DEBPKGNAME)/*.lis ." \
@@ -46,6 +42,8 @@ override_dh_installexamples:
override_dh_auto_test:
dh_auto_test
+ export PATH=$(CURDIR)/src/Fortran/:$(PATH) ; \
+ echo $${PATH} ; \
cd data ; \
. ./test.sh | \
sed -e '/^MA/s/\(N_SCORE=[68].5\)0*/\1/' \
--
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