[python-shapely] 100/148: Remove VERSION.txt and _speedups.c, generated also on clean

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu Aug 20 17:42:08 UTC 2015


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

sebastic pushed a commit to branch master
in repository python-shapely.

commit ffb40e9109ab4d8070e12a47c9bc9c3fa26d329b
Author: Pietro Battiston <me at pietrobattiston.it>
Date:   Mon Jan 20 11:54:03 2014 +0100

    Remove VERSION.txt and _speedups.c, generated also on clean
---
 debian/rules | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 726dc7e..2e84a4c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,13 @@
 %:
 	dh  $@ --with python2
 
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f VERSION.txt
+	rm -f shapely/speedups/_speedups.c
+	rm -f shapely/speedups/_speedups.so
+	rm -f Shapely.egg-info/*
+
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	set -e; for ver in `pyversions -vr`; do \
@@ -15,5 +22,5 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 endif
 
 override_dh_auto_build:
-	rm shapely/speedups/_speedups.c
+	rm -f shapely/speedups/_speedups.c
 	dh_auto_build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-shapely.git



More information about the Pkg-grass-devel mailing list