[sagemath] 02/02: Clean up some files that conflict with the orig tarball otherwise.

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 4 01:31:28 UTC 2016


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

thansen pushed a commit to branch master
in repository sagemath.

commit 2208123502f1b8f1f96b32bd240664ec919a2fb1
Author: Tobias Hansen <thansen at broeselmaschine.fc.up.pt>
Date:   Sun Dec 4 01:29:25 2016 +0000

    Clean up some files that conflict with the orig tarball otherwise.
---
 debian/rules                | 4 ++++
 debian/source/local-options | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index e0ecc18..7d7c727 100755
--- a/debian/rules
+++ b/debian/rules
@@ -80,6 +80,10 @@ ifneq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 else
 	dh_auto_clean -Dsage -- distclean
 endif
+	rm -rf sage/config
+	rm -f sage/build/make/Makefile-auto.in
+	rm -f sage/configure
+	rm -f sage/src/Makefile
 
 override_dh_install: $(DOCS_INSTALL) $(DOCS_DOC_BASE)
 	dh_install --package sagemath-common -X.so
diff --git a/debian/source/local-options b/debian/source/local-options
deleted file mode 100644
index a86bac8..0000000
--- a/debian/source/local-options
+++ /dev/null
@@ -1,2 +0,0 @@
-# These files are generated by sage's make distclean.
-extend-diff-ignore="^sage/(config|build/make/Makefile-auto.in|src/Makefile)"

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