+2008-02-17 Frank Lichtenheld <djpig@debian.org>
+
+ * scripts/Dpkg.pm: Allow overriding $pkgdatadir
+ with $ENV{DPKG_DATADIR}.
+ * scripts/Makefile.am (check): Use DPKG_DATADIR.
+ * debian/rules: Remove hack to copy data files
+ to build directory.
+
+
2008-02-17 Frank Lichtenheld <djpig@debian.org>
Matthias Klose <doko@cs.tu-berlin.de>
--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
.
.SH FILES
All these files have to be present for \fBdpkg-architecture\fP to
-work.
+work. Their location can be overriden at runtime with the environment
+variable DPKG_DATADIR.
.TP
.I /usr/share/dpkg/cputable
Table of known CPU names and mapping to their GNU name.
our $admindir = "/var/lib/dpkg";
our $dpkglibdir = ".";
our $pkgdatadir = "..";
+$pkgdatadir = $ENV{DPKG_DATADIR} if defined $ENV{DPKG_DATADIR};
1;
# a bit hacky...
$(mkdir_p) t.tmp
cp -dRl $(srcdir)/t/200_Dpkg_Shlibs/ld.so.conf* t.tmp/
- srcdir=$(srcdir) PERL5LIB=$(srcdir) PERL_DL_NONLAZY=1 $(PERL) -I$(srcdir) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '.')" $(TEST_FILES)
+ srcdir=$(srcdir) PERL5LIB=$(srcdir) DPKG_DATADIR=$(srcdir)/.. PERL_DL_NONLAZY=1 $(PERL) -I$(srcdir) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '.')" $(TEST_FILES)