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

Emmanuel Kasper emmanuel at libera.cc
Sat May 28 12:29:51 UTC 2011


The following commit has been merged in the master branch:
commit 458895f8b51375faf2912d1c7d2e4249454078dd
Author: Emmanuel Kasper <emmanuel at libera.cc>
Date:   Sat May 28 14:28:54 2011 +0200

    Add failover for mess in case in call debian/rules clean in a clean dir

diff --git a/debian/rules b/debian/rules
index a296398..728b4dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -145,6 +145,9 @@ 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
 	[ ! -f default.mame.ini ] || rm default.mame.ini
 	[ ! -f default.mess.ini ] || rm default.mess.ini

-- 
packaging for the mame arcade game emulator



More information about the Pkg-games-commits mailing list