Use install_root for test destination override, not DESTDIR
authorAdam Conrad <adconrad@ubuntu.com>
Tue, 5 May 2020 18:12:38 +0000 (19:12 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 5 May 2020 18:12:38 +0000 (19:12 +0100)
Forwarded: no
Last-Update: 2019-09-16

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

Makefile

index 5ec9ac0811bdba778fe614d6c288eb6728a29a84..70865ec9e1ad41a2c95f50a93cdb72e68af80d5a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -418,7 +418,7 @@ ifeq ($(run-built-tests),yes)
            $(test-wrapper) cp $$dso $(objpfx)testroot.pristine$$dso ;\
          done
 endif
-       $(MAKE) install DESTDIR=$(objpfx)testroot.pristine \
+       $(MAKE) install install_root=$(objpfx)testroot.pristine \
          subdirs='$(sorted-subdirs)'
        touch $(objpfx)testroot.pristine/install.stamp