[sagemath] 01/02: When cleaning, remove userdir stuff that sage installs

Ximin Luo infinity0 at debian.org
Sat Oct 1 20:54:49 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 bab139c7953cb46fb1d083f8918c78c7b49d6d21
Author: Ximin Luo <infinity0 at debian.org>
Date:   Sat Oct 1 19:18:46 2016 +0200

    When cleaning, remove userdir stuff that sage installs
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 95cace4..5cd3a39 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,6 +36,8 @@ override_dh_auto_install:
 # upstream "clean" only cleans the sagelib build and not e.g. spkg builds
 override_dh_auto_clean:
 	$(MAKE) --directory=sage distclean
+# TODO: rm the below when we get rid of our "userdir" patches
+	rm -rf $$HOME/.sage/local $$HOME/.local/share/sagemath
 
 get-orig-source:
 	cd sage && git archive --prefix=sagemath_$(DEB_VERSION_UPSTREAM)/sage/ \
@@ -62,7 +64,6 @@ ptestlong:
 reset: clean
 	QUILT_PATCHES=debian/patches quilt pop -af || true
 	cd sage; git clean -fdx && git submodule update --force
-	rm -rf $$HOME/.sage/local $$HOME/.local/share/sagemath
 	QUILT_PATCHES=debian/patches quilt push -a
 
 build-dep:

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