[SCM] packaging for the mame arcade game emulator branch, master, updated. dbe2e3caddba1f0f638df34b69d336e5dd066d35
Emmanuel Kasper
emmanuel at libera.cc
Fri May 27 09:58:46 UTC 2011
The following commit has been merged in the master branch:
commit 4ff12cb9744d8664ed28061a7b11c65ede39c1ea
Author: Emmanuel Kasper <emmanuel at libera.cc>
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
More information about the Pkg-games-commits
mailing list