Makefile.am: Honor DESTDIR when installing perl bindings

Message ID 20210227192110.17129-1-stefan.schantl@ipfire.org
State Accepted
Commit 2d87a81c8f096a2273189b07241ec188fafe0887
Headers show
Series
  • Makefile.am: Honor DESTDIR when installing perl bindings
Related show

Commit Message

Stefan Schantl Feb. 27, 2021, 7:21 p.m. UTC
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/Makefile.am b/Makefile.am
index 4b865f1..65e96d7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -239,7 +239,7 @@  check-perl: testdata.db
 
 .PHONY: install-perl
 install-perl:
-	cd $(builddir)/src/perl && $(MAKE) install
+	cd $(builddir)/src/perl && $(MAKE) install DESTIDR=$(DESTDIR)
 
 .PHONY: clean-perl
 clean-perl: