[SCM] packaging for the mame arcade game emulator branch, master, updated. b5f99b124ac31a0ad05614b524ffa459aa7f9691

Jordi Mallach jordi at debian.org
Sat May 14 13:49:16 UTC 2011


The following commit has been merged in the master branch:
commit b5f99b124ac31a0ad05614b524ffa459aa7f9691
Author: Jordi Mallach <jordi at debian.org>
Date:   Sat May 14 15:48:05 2011 +0200

    Invert test logic to avoid clean rule failures on a clean tree.

diff --git a/debian/rules b/debian/rules
index e42cd5a..68fb720 100755
--- a/debian/rules
+++ b/debian/rules
@@ -142,13 +142,13 @@ clean:
 	$(MAKE) $(DEB_MAME_OPTS) clean
 	-rm default.mame.ini default.mess.ini
 	# Undo MESS modifications.
-	[ -L artwork ] && rm artwork
-	[ -L hash ] && rm hash
-	[ -L sysinfo.dat ] && rm sysinfo.dat
-	[ -L src/mess ] && rm src/mess
-	[ -L messdir/hash/megatech.xml ] && rm messdir/hash/megatech.xml
-	[ -d hash.mame ] && mv hash.mame hash
-	[ -d messdir ] && mv messdir mess
+	[ ! -L artwork ] || rm artwork
+	[ ! -L hash ] || rm hash
+	[ ! -L sysinfo.dat ] || rm sysinfo.dat
+	[ ! -L src/mess ] || rm src/mess
+	[ ! -L messdir/hash/megatech.xml ] || rm messdir/hash/megatech.xml
+	[ ! -d hash.mame ] || mv hash.mame hash
+	[ ! -d messdir ] || mv messdir mess
 
 # Convert upstream sources from zip to tar.bz2
 VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')

-- 
packaging for the mame arcade game emulator



More information about the Pkg-games-commits mailing list