Explorar el Código

Add support to debian/rules to update config.sub and co...
Author: doogie
Date: 2002-11-09 20:21:53 GMT
Add support to debian/rules to update config.sub and config.guess from
/usr/share/misc if they exist.

Arch Librarian hace 22 años
padre
commit
267f5ed66f
Se han modificado 2 ficheros con 11 adiciones y 1 borrados
  1. 2 0
      debian/changelog
  2. 9 1
      debian/rules

+ 2 - 0
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
 

+ 9 - 1
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 $@