Use install_root for test destination override, not DESTDIR
authorAdam Conrad <adconrad@ubuntu.com>
Sun, 10 Jul 2022 20:29:34 +0000 (21:29 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 10 Jul 2022 20:29:34 +0000 (21:29 +0100)
Forwarded: no
Last-Update: 2020-02-08

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

Makefile

index 6e8242b57163853d4331fb1f815a4f073f0fabba..dccff9777823f06829d3349ac1cbc31b2d020918 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -647,7 +647,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