Use install_root for test destination override, not DESTDIR
authorAdam Conrad <adconrad@ubuntu.com>
Wed, 16 Dec 2020 21:33:25 +0000 (21:33 +0000)
committerSamuel Thibault <sthibault@debian.org>
Wed, 16 Dec 2020 21:33:25 +0000 (21:33 +0000)
Forwarded: no
Last-Update: 2020-02-08

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

Makefile

index d76aceafaf0bfe0d21e4db4727ab049c0c2fd5ce..3f5c4a1a2be4566daa992efedae5724e386e13c2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -635,7 +635,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