diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:59:46 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:59:46 +0000 |
commit | 267f5ed66f94946f80b12b35f68a1019a5ea35ce (patch) | |
tree | 9bca13a3a2bf1b4e6702f49916cf25bb455da60f /debian/rules | |
parent | 402eaa987f7621bc9b7cf039665b2d6a1aac839b (diff) |
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.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 10 |
1 files changed, 9 insertions, 1 deletions
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 $@ |