[grass] 07/18: Delete all .pyc files using find.

Bas Couwenberg sebastic at xs4all.nl
Sat Jan 24 02:03:52 UTC 2015


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

sebastic-guest pushed a commit to branch experimental
in repository grass.

commit 55cbc8582574e1e375c6a2700e7b5f2b2e6ea325
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Jan 23 20:17:42 2015 +0100

    Delete all .pyc files using find.
---
 debian/rules | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/debian/rules b/debian/rules
index dfde612..928772e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -167,16 +167,7 @@ install-arch: build-arch
 	rm -f debian/tmp/usr/lib/$(BASE_NAME)/etc/license
 	
 	# delete python compiled bytecode files (maybe dh_python2 takes care of this for us?)
-	for DIR in python/grass \
-		python/grass/lib \
-		python/grass/script \
-		wxpython \
-		wxpython/compat \
-		wxpython/gui_modules \
-		wxpython/icons ; \
-	     do \
-		rm -f debian/tmp/usr/lib/$(BASE_NAME)/etc/$$DIR/*.pyc ; \
-	done
+	find debian/tmp/ -type f -name "*.pyc" -delete
 
 	# change section from 1 to .1grass 
 	mv debian/tmp/usr/lib/$(BASE_NAME)/docs/man/man1/grass7.1 debian/$(BASE_NAME).1

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



More information about the Pkg-grass-devel mailing list