Author: kibi
Date: 2008-06-08 03:29:12 +0000 (Sun, 08 Jun 2008)
New Revision: 7268

Modified:
   packages/trunk/dreamchess/debian/changelog
   packages/trunk/dreamchess/debian/rules
Log:
Update config.{guess,sub} before configure, remove them in clean (Closes: 
#484970 for real).

Modified: packages/trunk/dreamchess/debian/changelog
===================================================================
--- packages/trunk/dreamchess/debian/changelog  2008-06-08 03:22:04 UTC (rev 
7267)
+++ packages/trunk/dreamchess/debian/changelog  2008-06-08 03:29:12 UTC (rev 
7268)
@@ -1,8 +1,12 @@
 dreamchess (0.2.0-2) unstable; urgency=low
 
   * Remove “-p1” from debian/patches/series since it's useless and since
-    it might cause an FTBFS with the “3.0 (quilt)” source package format,
-    thanks to Raphaël Hertzog for the notice.
+    it might cause an FTBFS with the “3.0 (quilt)” source package format.
+  * Move config.{guess,sub} update from the clean target to the
+    config.status one, and remove them in clean target instead, so as to
+    keep the Debian diff clean and not to cause an FTBFS with the new
+    “3.0 (quilt)” source package format. Thanks to Raphaël Hertzog for the
+    notice (Closes: #484970).
 
  -- Cyril Brulebois <[EMAIL PROTECTED]>  Sun, 08 Jun 2008 05:10:44 +0200
 

Modified: packages/trunk/dreamchess/debian/rules
===================================================================
--- packages/trunk/dreamchess/debian/rules      2008-06-08 03:22:04 UTC (rev 
7267)
+++ packages/trunk/dreamchess/debian/rules      2008-06-08 03:29:12 UTC (rev 
7268)
@@ -27,6 +27,12 @@
 config.status: configure
        dh_testdir
        QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+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
        touch ChangeLog # Fix the incorrect date of this file
        CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) 
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man 
--infodir=\$${prefix}/share/info --bindir=/usr/games --datadir=/usr/share/games
 
@@ -46,15 +52,9 @@
        rm -f build-stamp 
 
        [ ! -f Makefile ] || $(MAKE) distclean
-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
        QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
        rm -rf .pc
-       dh_clean 
+       dh_clean config.guess config.sub
 
 install: build
        dh_testdir


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

Reply via email to