[opencity] 54/91: Use the config.status target to install up to date config.{sub, guess}

Markus Koschany apo-guest at moszumanska.debian.org
Wed Mar 25 12:23:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository opencity.

commit bc5bf4a664984c0efe01e7b47b667e5c0a786c66
Author: Gonéri Le Bouder <goneri at rulezlan.org>
Date:   Thu Jan 1 15:14:31 2009 +0000

    Use the config.status target to install up to date config.{sub,guess}
---
 debian/changelog |  1 +
 debian/rules     | 19 ++++++++++---------
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6f3444b..0a7b2c8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ opencity (0.0.6.1stable-1) experimental; urgency=low
   * 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
 
diff --git a/debian/rules b/debian/rules
index 8c54b19..2db3905 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,13 @@ endif
 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 @@ build-stamp:  config.status
 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
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/opencity.git



More information about the Pkg-games-commits mailing list