[h5py] 02/03: d/rules: better clean target

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Mar 29 14:55:48 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/experimental
in repository h5py.

commit 399ae82792f3ea5825cdf60697b0f55f80ad4fde
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sun Mar 29 12:36:40 2015 +0100

    d/rules: better clean target
    
    As kindly suggested by Frederic-Emmanuel PICCA
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index aefcd82..0a8eabb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,3 +18,5 @@ override_dh_auto_clean:
 	$(RM) setuptools-0.6c9-py2.5.egg
 	$(RM) h5py_config.pickle
 	$(RM) h5py/config.pxi
+	# Remove the cythonized .c files
+	find h5py -iname *.pyx | sed -e 's,\.pyx,\.c,g' | xargs -r $(RM) -f

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git



More information about the debian-science-commits mailing list