[game-data-packager] 03/25: clean: stop deleting files individually, just use rm -fr

Simon McVittie smcv at debian.org
Sun Oct 9 21:26:05 UTC 2016


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

smcv pushed a commit to branch master
in repository game-data-packager.

commit 12bcbbdc0e39923c0e01cbdb8dbecdd1a9a7dc27
Author: Simon McVittie <smcv at debian.org>
Date:   Fri Sep 30 22:57:50 2016 +0100

    clean: stop deleting files individually, just use rm -fr
---
 Makefile | 20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)

diff --git a/Makefile b/Makefile
index a2792c0..f489f46 100644
--- a/Makefile
+++ b/Makefile
@@ -99,28 +99,10 @@ $(desktop) $(patsubst %.json,%.yaml,$(json_from_runtime)): out/%: runtime/%.in o
 	PYTHONPATH=. $(PYTHON) tools/expand_vars.py $< $@
 
 clean:
-	rm -f ./out/bash_completion
-	rm -f ./out/changelog.gz
-	rm -f ./out/copyright
-	rm -f ./out/game-data-packager
-	rm -f ./out/*.control.in
-	rm -f ./out/*.copyright
-	rm -f ./out/*.copyright.in
-	rm -f ./out/*.desktop
-	rm -f ./out/*.json
-	rm -f ./out/*.preinst.in
-	rm -f ./out/*.png
-	rm -f ./out/*.svgz
-	rm -f ./out/*.svg
-	rm -f ./out/*.txt
-	rm -f ./out/vfs.zip
-	rm -f ./out/index.html
-	rm -fr out/vfs
+	rm -fr out
 	rm -rf game_data_packager/__pycache__
 	rm -rf game_data_packager/games/__pycache__
 	rm -rf tools/__pycache__
-	rm -f out/CACHEDIR.TAG
-	test ! -d out || rmdir out
 
 check:
 	LC_ALL=C $(PYFLAKES3) game_data_packager/*.py game_data_packager/*/*.py runtime/*.py tools/*.py || :

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list