Author: miriam
Date: 2008-09-05 16:46:56 +0000 (Fri, 05 Sep 2008)
New Revision: 8083

Modified:
   packages/trunk/lmemory/debian/rules
Log:
Fix clean



Modified: packages/trunk/lmemory/debian/rules
===================================================================
--- packages/trunk/lmemory/debian/rules 2008-09-05 16:43:08 UTC (rev 8082)
+++ packages/trunk/lmemory/debian/rules 2008-09-05 16:46:56 UTC (rev 8083)
@@ -36,6 +36,12 @@
 configure: configure-stamp
 configure-stamp: patch
        dh_testdir
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+       cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+       cp -f /usr/share/misc/config.guess config.guess
+endif
        ./configure --prefix=/usr --mandir=\$${prefix}/share/man \
                --datadir=\$${prefix}/share/games/lmemory \
                --bindir=\$${prefix}/games
@@ -51,16 +57,9 @@
        dh_testdir
        dh_testroot
        rm -f build-stamp configure-stamp
+       rm -f config.log config.sub config.cache config.guess
        [ ! -f config.status ] || $(MAKE) distclean
-       rm -f config.log libtool confdefs.h
-
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-       cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-       cp -f /usr/share/misc/config.guess config.guess
-endif
-
+       rm -f libtool confdefs.h
        $(MAKE) -f /usr/share/quilt/quilt.make unpatch
        dh_clean
 


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

Reply via email to