Use install_root for test destination override, not DESTDIR
authorAdam Conrad <adconrad@ubuntu.com>
Tue, 4 Oct 2022 05:07:58 +0000 (06:07 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 4 Oct 2022 05:07:58 +0000 (06:07 +0100)
Forwarded: no
Last-Update: 2020-02-08

Gbp-Pq: Topic any
Gbp-Pq: Name local-test-install.diff

Makefile

index cd2c3f5dc0786220f8a386f24cb5f884eeedf7f5..a9ef15281d6a2c4dbb97ef1805ff4839093d6325 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -651,7 +651,7 @@ endif
        # Setting INSTALL_UNCOMPRESSED causes localedata/Makefile to
        # install the charmaps uncompressed, as the testroot does not
        # provide a gunzip program.
-       $(MAKE) install DESTDIR=$(objpfx)testroot.pristine \
+       $(MAKE) install install_root=$(objpfx)testroot.pristine \
          INSTALL_UNCOMPRESSED=yes subdirs='$(sorted-subdirs)'
        rm -f $(symbolic-link-list)
        touch $(objpfx)testroot.pristine/install.stamp