summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/rules10
2 files changed, 11 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 0b47f16a6..d03bce7e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -53,6 +53,8 @@ apt (0.5.5) unstable; urgency=low
* Fix segfault in FindAny when /i is used, and there is no default.
Closes: #165891
* Add s390x to archtable. Closese: #160992.
+ * Update config.sub/config.guess in cvs, and add support to debian/rules
+ to update them from /usr/share/misc if they exist. Closes: #155014
-- Jason Gunthorpe <jgg@debian.org> Sun, 15 Sep 2002 17:16:59 -0600
diff --git a/debian/rules b/debian/rules
index e8a336325..6599a0d1d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
# Made with the aid of dh_make, by Craig Small
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
# Some lines taken from debmake, by Christoph Lameter.
-# $Id: rules,v 1.40 2002/11/09 20:13:27 doogie Exp $
+# $Id: rules,v 1.41 2002/11/09 20:21:54 doogie Exp $
# LD_LIBRARY_PATH=pwd/debian/apt/usr/lib dh_shlibdeps -papt
# dpkg: /home/jgg/work/apt2/debian/apt/usr/lib/libapt-pkg.so.2.9 not found.
@@ -100,6 +100,14 @@ build/configure-stamp: configure
dh_testdir
-mkdir build
cp COPYING debian/copyright
+ifneq ($(wildcard /usr/share/misc/config.sub),)
+ cp -a /usr/share/misc/config.sub buildlib/config.sub
+ echo Updating buildlib/config.sub
+endif
+ifneq ($(wildcard /usr/share/misc/config.guess),)
+ cp -a /usr/share/misc/config.guess buildlib/config.guess
+ echo Updating buildlib/config.guess
+endif
(cd build; ../configure $(confflags))
touch $@