The following commit has been merged in the master branch:
commit 4ff12cb9744d8664ed28061a7b11c65ede39c1ea
Author: Emmanuel Kasper <[email protected]>
Date: Fri May 27 11:49:19 2011 +0200
Test if generated ini files exist before removing them with clean target
diff --git a/debian/rules b/debian/rules
index a734a98..f93102e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -145,7 +145,8 @@ override_dh_auto_build:
override_dh_auto_clean:
$(MAKE) $(DEB_MAME_OPTS) clean
- -rm default.mame.ini default.mess.ini
+ [ ! -f default.mame.ini ] || rm default.mame.ini
+ [ ! -f default.mess.ini ] || rm default.mess.ini
# Undo MESS modifications.
[ ! -L artwork ] || rm artwork
[ ! -L hash ] || rm hash
--
packaging for the mame arcade game emulator
_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits