[sagemath] 02/03: Build the pruner in debian/pruner and add .gitignore rules

Ximin Luo infinity0 at debian.org
Mon Aug 8 10:25:14 UTC 2016


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

infinity0 pushed a commit to branch master
in repository sagemath.

commit 125256e0dbe19888ff23e5f2ed432e3cc64f2246
Author: Ximin Luo <infinity0 at debian.org>
Date:   Mon Aug 8 12:23:46 2016 +0200

    Build the pruner in debian/pruner and add .gitignore rules
---
 .gitignore        | 3 ++-
 debian/.gitignore | 4 ++++
 debian/rules      | 4 ++--
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 845ca06..694d0e1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
-.pc
+/.pc
+/prune
diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000..6714ba5
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1,4 @@
+/*.debhelper.log
+/pruner/configure
+/pruner/config.*
+/pruner/pruner
diff --git a/debian/rules b/debian/rules
index c512b90..1a53236 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,8 +25,8 @@ get-orig-source:
 
 prune:
 	cd debian/pruner && autoconf
-	debian/pruner/configure --with-sage-root="$(shell pwd)/sage"
-	cd sage && python ../pruner.py
+	cd debian/pruner && ./configure --with-sage-root="$(shell pwd)/sage"
+	cd sage && python ../debian/pruner/pruner.py
 	touch prune
 
 ptestlong:

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