[sagemath] 02/02: Add new rules target prune for the pruner.

Tobias Hansen thansen at moszumanska.debian.org
Tue Feb 24 22:36:11 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 fc2cdc396a9629825e737c7103a21a607f4ebdfd
Author: Tobias Hansen <tobias.han at gmx.de>
Date:   Tue Feb 24 23:33:26 2015 +0100

    Add new rules target prune for the pruner.
---
 debian/rules | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 44c7c37..5e9f42d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,10 +10,7 @@ override_dh_auto_clean:
 	rm -f debian/pruner/configure
 	dh_auto_clean
 
-override_dh_auto_configure:
-	cd debian/pruner && autoconf
-	debian/pruner/configure --with-sage-root="$(shell pwd)/sage"
-	cd sage && python ../pruner.py
+override_dh_auto_configure: prune
 
 override_dh_auto_build:
 	make --directory=sage
@@ -25,3 +22,8 @@ override_dh_auto_install:
 
 get-orig-source:
 	cd sage && git archive --prefix=sagemath_$(VERSION)/sage/ --format=tar HEAD | xz -zf > ../../sagemath_$(VERSION).orig.tar.xz
+
+prune:
+	cd debian/pruner && autoconf
+	debian/pruner/configure --with-sage-root="$(shell pwd)/sage"
+	cd sage && python ../pruner.py

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