The following commit has been merged in the master branch:
commit 0c657e0661a6933da072cc30ec0a0c695cde5616
Author: Jordi Mallach <[email protected]>
Date:   Tue Jul 19 09:40:10 2011 +0200

    Avoid ignoring "make clean" errors.

diff --git a/debian/changelog b/debian/changelog
index 320810d..a999e0f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mame (0.143-3) UNRELEASED; urgency=low
+
+  * Avoid ignoring "make clean" errors.
+
+ -- Jordi Mallach <[email protected]>  Tue, 19 Jul 2011 09:14:50 +0200
+
 mame (0.143-2) unstable; urgency=low
 
   * Fix builds on MIPS, adding -Umips to ARCHOPTS (Emmanuel Kasper).
diff --git a/debian/rules b/debian/rules
index cf10431..5c24df9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -158,7 +158,7 @@ override_dh_auto_clean:
        echo "Starting clean process..."
        $(MAKE) $(DEB_MAME_OPTS) clean
        # target may fail if the symlinks have not been created
-       -$(MAKE) $(DEB_MESS_OPTS) clean
+       [ ! -L src/mess ] || $(MAKE) $(DEB_MESS_OPTS) clean
        -rm prepare_mess_dirs
        [ ! -f default.mame.ini ] || rm default.mame.ini
        [ ! -f default.mess.ini ] || rm default.mess.ini

-- 
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