Use install_root for test destination override, not DESTDIR
authorAdam Conrad <adconrad@ubuntu.com>
Sun, 3 Dec 2023 13:23:52 +0000 (14:23 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 3 Dec 2023 13:23:52 +0000 (14:23 +0100)
Forwarded: no
Last-Update: 2020-02-08

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

Makefile

index 0ce5a697810b7384596351da4f6cd7529d75d3bb..29a089a029ac1684ca2da84dcc577a84a10a21ce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -652,7 +652,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