r11982 - packages/trunk/7kaa/debian
Bertrand Marc
bbk-guest at alioth.debian.org
Tue Mar 22 20:42:08 UTC 2011
Author: bbk-guest
Date: 2011-03-22 20:42:07 +0000 (Tue, 22 Mar 2011)
New Revision: 11982
Modified:
packages/trunk/7kaa/debian/changelog
packages/trunk/7kaa/debian/rules
Log:
Use dh-autotools-dev to update config.[guess,sub]
Modified: packages/trunk/7kaa/debian/changelog
===================================================================
--- packages/trunk/7kaa/debian/changelog 2011-03-22 19:16:50 UTC (rev 11981)
+++ packages/trunk/7kaa/debian/changelog 2011-03-22 20:42:07 UTC (rev 11982)
@@ -2,9 +2,9 @@
[ Bertrand Marc ]
* Initial release (Closes: #591302).
- * Patch clean.pl to make sure it doesn't mess with the debian dir.
+ * Use dh_autotools-dev to update and restore config.*.
[ Miriam Ruiz ]
* New upstream release
- -- Bertrand Marc <beberking at gmail.com> Fri, 18 Feb 2011 09:36:44 +0100
+ -- Bertrand Marc <beberking at gmail.com> Tue, 22 Mar 2011 21:40:52 +0100
Modified: packages/trunk/7kaa/debian/rules
===================================================================
--- packages/trunk/7kaa/debian/rules 2011-03-22 19:16:50 UTC (rev 11981)
+++ packages/trunk/7kaa/debian/rules 2011-03-22 20:42:07 UTC (rev 11982)
@@ -17,12 +17,7 @@
config-stamp:
dh_testdir
[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
-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
+ dh_autotools-dev_updateconfig
./configure $(CROSS) \
--prefix=/usr \
--bindir=\$${prefix}/games \
@@ -46,7 +41,8 @@
dh_testroot
rm -fv build-stamp config-stamp
[ ! -f Makefile ] || $(MAKE) distclean
- rm -fv config.sub config.guess config.cache config.log
+ dh_autotools-dev_restoreconfig
+ rm -fv config.log
[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
dh_clean
More information about the Pkg-games-commits
mailing list