[Python-modules-commits] [python-peak.rules] 03/04: Clean using debian/clean

Daniele Tricoli eriol-guest at moszumanska.debian.org
Sun Feb 7 20:04:34 UTC 2016


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

eriol-guest pushed a commit to branch master
in repository python-peak.rules.

commit e59a7675480492afd9cac8059eb05385d9ba9692
Author: Daniele Tricoli <eriol at mornie.org>
Date:   Sun Feb 7 19:23:21 2016 +0100

    Clean using debian/clean
---
 debian/clean | 2 ++
 debian/rules | 6 ------
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..d05b5a6
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+*/*.egg-info/*
+README.prioritized_methods.txt
diff --git a/debian/rules b/debian/rules
index 75dbd00..111c717 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,12 +12,6 @@ export SUBDIRS = rules $(DEB_PRIORITIZED_METHODS_DIR)
 %:
 	dh $@ --with python2
 
-override_dh_auto_clean:
-	rm -f README.prioritized_methods.txt
-	find . -path '*PEAK_Rules.egg-info/*' -delete
-	find . -path '*prioritized_methods.egg-info/*' -delete
-	dh_auto_clean
-
 override_dh_auto_install:
 	dh_auto_install
 	rm -f debian/$(PKG)/usr/lib/python*/dist-packages/*.pth

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-peak.rules.git



More information about the Python-modules-commits mailing list