Use install_root for test destination override, not DESTDIR
authorAdam Conrad <adconrad@ubuntu.com>
Sat, 1 Jun 2024 21:16:35 +0000 (23:16 +0200)
committerAurelien Jarno <aurel32@debian.org>
Sat, 1 Jun 2024 21:16:35 +0000 (23:16 +0200)
Forwarded: no
Last-Update: 2020-02-08

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

Makefile

index b5d479dc1ab0c13a1eb91f1274835b3db9db61ee..d6849139679d6321c15c606e3ef14d69a906c20b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -665,7 +665,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