The following commit has been merged in the master branch:
commit f8d8bce3a834addb8b5fa998e28e2c07d6860075
Author: Emmanuel Kasper <[email protected]>
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

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to