r8586 - packages/trunk/opencity/debian

Gonéri Le Bouder goneri at alioth.debian.org
Thu Jan 1 15:14:31 UTC 2009


Author: goneri
Date: 2009-01-01 15:14:31 +0000 (Thu, 01 Jan 2009)
New Revision: 8586

Modified:
   packages/trunk/opencity/debian/changelog
   packages/trunk/opencity/debian/rules
Log:
Use the config.status target to install up to date config.{sub,guess}


Modified: packages/trunk/opencity/debian/changelog
===================================================================
--- packages/trunk/opencity/debian/changelog	2009-01-01 14:58:31 UTC (rev 8585)
+++ packages/trunk/opencity/debian/changelog	2009-01-01 15:14:31 UTC (rev 8586)
@@ -12,6 +12,7 @@
   * Clean debian/opencity.xpm
   * use dh_clean to clean temp files
   * upload to experimental because of Lenny freeze
+  * Use the config.status target to install up to date config.{sub,guess} 
 
  -- Gonéri Le Bouder <goneri at rulezlan.org>  Thu, 01 Jan 2009 15:51:36 +0100
 

Modified: packages/trunk/opencity/debian/rules
===================================================================
--- packages/trunk/opencity/debian/rules	2009-01-01 14:58:31 UTC (rev 8585)
+++ packages/trunk/opencity/debian/rules	2009-01-01 15:14:31 UTC (rev 8586)
@@ -20,6 +20,13 @@
 config.status: configure
 	QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
 	dh_testdir
+	[ ! -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
 	# Add here commands to configure the package.
 	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 --datadir=/usr/share/games --sysconfdir=/etc
 
@@ -39,18 +46,12 @@
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp config.guess
+	rm -f build-stamp
 
 	# Add here commands to clean up after the build process.
-	[ ! -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
+	[ ! -f Makefile ] || $(MAKE) distclean 
 	dh_clean debian/opencity.xpm config.log \
-            debian/opencity.6
+            debian/opencity.6 config.sub config.guess config.status
 	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
 	rm -rf .pc
 




More information about the Pkg-games-commits mailing list