[sagemath] 03/03: Introduce d/clean (and revisit d/rules accordingly)

Jerome Benoit calculus-guest at moszumanska.debian.org
Wed Aug 3 13:44:32 UTC 2016


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

calculus-guest pushed a commit to branch master
in repository sagemath.

commit 16da5c03bf71e03f4fe49d7d2bbfc0188b2ec50f
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Wed Aug 3 14:43:42 2016 +0100

    Introduce d/clean (and revisit d/rules accordingly)
---
 debian/clean | 5 +++++
 debian/rules | 6 ------
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..cb57e39
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,5 @@
+prune
+config.log
+config.status
+pruner.py
+debian/pruner/configure
diff --git a/debian/rules b/debian/rules
index c929a8c..225f829 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,12 +5,6 @@ VERSION := $(shell dpkg-parsechangelog -S Version| sed 's@\(.\+\)-.\+@\1@')
 %:
 	dh $@ --parallel
 
-override_dh_auto_clean:
-	rm -f prune
-	rm -f config.log config.status pruner.py
-	rm -f debian/pruner/configure
-	dh_auto_clean
-
 override_dh_auto_build: prune
 	$(MAKE) --directory=sage build
 

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