[pyoperators] 08/12: d/{clean,rules}: use auto-clean target.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Jun 8 14:23:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository pyoperators.
commit 42123ccd512c6bfed6cfe9af0533904b68718e2e
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Tue Jun 7 17:38:33 2016 +0100
d/{clean,rules}: use auto-clean target.
---
debian/clean | 1 +
debian/rules | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..45149aa
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+*.egg-info/*
diff --git a/debian/rules b/debian/rules
index 328fd8d..e1489f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,10 @@ export DH_VERBOSE=1
export PYBUILD_NAME=pyoperators
export PYBUILD_AFTER_INSTALL_python2=dh_numpy
export PYBUILD_AFTER_INSTALL_python3=dh_numpy3
-export PYBUILD_DISABLE=clean
%:
dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_clean:
+ dh_auto_clean
+ find pyoperators/ -name "*.c" -delete
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyoperators.git
More information about the debian-science-commits
mailing list