]> err.no Git - dpkg/commitdiff
debian/rules: include cputable ostable triplettable in build-tree
authorRaphael Hertzog <hertzog@debian.org>
Mon, 15 Oct 2007 11:51:32 +0000 (13:51 +0200)
committerRaphael Hertzog <hertzog@debian.org>
Mon, 15 Oct 2007 11:51:32 +0000 (13:51 +0200)
They can be needed during 'make check' (the non-regressions tests
in the scripts directory) as Dpkg.pm exports $pkgdatadir as "..".

ChangeLog
debian/rules

index a1792c19547269de5e78ce21a1b576eeef080277..941c39afbd4a3835f7a9ca73cced9be3aa985228 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 
        * scripts/Dpkg/Version.pm: fix compare_versions to handle properly
          the >= cases (it was improperly handled like >> due to a bad regexp).
+       * debian/rules: include cputable ostable triplettable in
+       build-tree so that they are available during make check (Dpkg.pm
+       exports ".." as $pkgdatadir during tests).
 
 2007-10-14  Raphael Hertzog  <hertzog@debian.org>
 
index e08bf3ec5709e669c38e22ecd33d2001475adca0..182c4c2ad0f72f1ee5f4002c7c832e459fc712f0 100755 (executable)
@@ -53,6 +53,7 @@ build-tree/config.status: configure
                --localstatedir=/var/lib \
                --with-zlib=static \
                --with-bz2=static
+       cp cputable ostable triplettable build-tree/
 
 # Build the package in build-tree
 build: build-tree/config.status