Author: jmtd-guest
Date: 2007-08-23 16:43:15 +0000 (Thu, 23 Aug 2007)
New Revision: 3785
Modified:
packages/trunk/chocolate-doom/debian/changelog
packages/trunk/chocolate-doom/debian/rules
Log:
clean up the diff.gz using autotools-dev's config.guess/sub
Modified: packages/trunk/chocolate-doom/debian/changelog
===================================================================
--- packages/trunk/chocolate-doom/debian/changelog 2007-08-23 16:35:15 UTC
(rev 3784)
+++ packages/trunk/chocolate-doom/debian/changelog 2007-08-23 16:43:15 UTC
(rev 3785)
@@ -10,4 +10,7 @@
[ Cyril Brulebois ]
* Added XS-Vcs-Svn and XS-Vcs-Browser fields in the control file.
- -- Jon Dowland <[EMAIL PROTECTED]> Thu, 12 Jul 2007 11:25:23 +0100
+ [ Jon Dowland ]
+ * use autotools-dev config.guess/sub to keep the diff.gz clean
+
+ -- Jon Dowland <[EMAIL PROTECTED]> Thu, 23 Aug 2007 18:36:08 +0100
Modified: packages/trunk/chocolate-doom/debian/rules
===================================================================
--- packages/trunk/chocolate-doom/debian/rules 2007-08-23 16:35:15 UTC (rev
3784)
+++ packages/trunk/chocolate-doom/debian/rules 2007-08-23 16:43:15 UTC (rev
3785)
@@ -17,6 +17,9 @@
config.status: configure
dh_testdir
+ ln -sf /usr/share/misc/config.sub ./autotools/config.sub
+ ln -sf /usr/share/misc/config.guess ./autotools/config.guess
+ rm -f config.cache
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man
--infodir=\$${prefix}/share/info
@@ -34,13 +37,12 @@
rm -f build-stamp
-$(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
- dh_clean
+
+ # stuff we don't want in diff.gz
+ find -name config.sub -print0 | xargs -0 -r rm -f \;
+ find -name config.guess -print0 | xargs -0 -r rm -f \;
+
+ dh_clean
-cd man && $(MAKE) clean
install: build
_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits