[sagemath] 01/03: debian/rules: Build with -j4 and add test target for make ptestlong.

Tobias Hansen thansen at moszumanska.debian.org
Sun Mar 1 21:25:59 UTC 2015


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

thansen pushed a commit to branch master
in repository sagemath.

commit fcf017139fd1aee5a7e1a99c689ca1b00652edb8
Author: Tobias Hansen <tobias.han at gmx.de>
Date:   Sun Mar 1 15:48:11 2015 +0000

    debian/rules: Build with -j4 and add test target for make ptestlong.
---
 debian/rules | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 5e9f42d..4b37251 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 VERSION := $(shell dpkg-parsechangelog | grep -x "Version:.*" | sed 's at Version: \(.\+\)-.\+@\1@')
+export MAKE = make -j4
 
 %:
 	dh $@
@@ -13,10 +14,12 @@ override_dh_auto_clean:
 override_dh_auto_configure: prune
 
 override_dh_auto_build:
-	make --directory=sage
+	$(MAKE) --directory=sage
 
-override_dh_auto_test:
-	make --directory=sage ptestlong
+override_dh_auto_test: test
+
+test:
+	$(MAKE) --directory=sage ptestlong
 
 override_dh_auto_install:
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list