From dacb4b24f0bc87bbfd662f47e5e7a6243e865889 Mon Sep 17 00:00:00 2001
From: Bdale Garbee <bdale@gag.com>
Date: Tue, 24 Feb 2009 22:16:36 -0700
Subject: [PATCH] change the way config.{sub,guess} are updated to work better
 with git

---
 debian/changelog | 4 +++-
 debian/rules     | 9 ++-------
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cead765..e440d22 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
 tar (1.20-2) UNRELEASED; urgency=low
 
   * version the Replaces entry for cpio, closes: #483355
+  * move config.* update to configure target, yields a smaller diff that 
+    doesn't clash with git-buildpackage... already had autotools-dev build dep!
 
- -- Bdale Garbee <bdale@gag.com>  Fri, 30 May 2008 10:47:42 -0600
+ -- Bdale Garbee <bdale@gag.com>  Tue, 24 Feb 2009 22:16:11 -0700
 
 tar (1.20-1) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index a8b047f..c738c9f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,10 +9,10 @@ endif
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
-
+	cp -f /usr/share/misc/config.sub build-aux/config.sub
+	cp -f /usr/share/misc/config.guess build-aux/config.guess
 	RSH="/usr/bin/rsh" CFLAGS="-O2 -g -Wall" \
 		./configure --prefix=/usr --libexecdir=/usr/sbin $(CONFARGS)
-
 	touch configure-stamp
 
 build: configure-stamp build-stamp
@@ -34,11 +34,6 @@ clean:
 
 	[ ! -f Makefile ] || $(MAKE) distclean
 
-	-test -r /usr/share/misc/config.sub && \
-		cp -f /usr/share/misc/config.sub build-aux/config.sub
-	-test -r /usr/share/misc/config.guess && \
-		cp -f /usr/share/misc/config.guess build-aux/config.guess
-
 	dh_clean
 
 install: build
-- 
2.45.2