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

Emmanuel Kasper emmanuel at libera.cc
Tue Jun 7 22:35:31 UTC 2011


The following commit has been merged in the master branch:
commit f8d8bce3a834addb8b5fa998e28e2c07d6860075
Author: Emmanuel Kasper <emmanuel at libera.cc>
Date:   Tue Jun 7 23:56:24 2011 +0200

    Fix to make debian/rules clean work in all cases, from a clean or
    non-clean workdir

diff --git a/debian/rules b/debian/rules
index 728b4dd..860d936 100755
--- a/debian/rules
+++ b/debian/rules
@@ -145,10 +145,8 @@ override_dh_auto_build:
 
 override_dh_auto_clean:
 	$(MAKE) $(DEB_MAME_OPTS) clean
-	# failover to find a mess makefile in case we start from a clean dir
-	[ -d mess ] && mv mess messdir
-	[ ! -L src/mess ] && ln -s ../messdir/src/mess src/mess
-	$(MAKE) $(DEB_MESS_OPTS) clean
+	# target may fail if the symlinks have not been created
+	-$(MAKE) $(DEB_MESS_OPTS) clean
 	[ ! -f default.mame.ini ] || rm default.mame.ini
 	[ ! -f default.mess.ini ] || rm default.mess.ini
 	# Undo MESS modifications.

-- 
packaging for the mame arcade game emulator



More information about the Pkg-games-commits mailing list