aboutsummaryrefslogtreecommitdiff
path: root/packages/aml-backoffice-ui/Makefile
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-09-28 17:50:53 +0200
committerFlorian Dold <florian@dold.me>2023-09-28 17:50:53 +0200
commit467f96869536a76ed0d129e38f237a77b31b1f60 (patch)
treef8141cc2455a687e95b9cd852cc497bb2ebf9315 /packages/aml-backoffice-ui/Makefile
parent61424e2cb51dde9a8c7442b20b6621cc8b1d3b26 (diff)
downloadwallet-core-467f96869536a76ed0d129e38f237a77b31b1f60.tar.xz
build system: support DESTDIR
Diffstat (limited to 'packages/aml-backoffice-ui/Makefile')
-rw-r--r--packages/aml-backoffice-ui/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/aml-backoffice-ui/Makefile b/packages/aml-backoffice-ui/Makefile
index 2653ce92f..64f9f83d1 100644
--- a/packages/aml-backoffice-ui/Makefile
+++ b/packages/aml-backoffice-ui/Makefile
@@ -3,6 +3,7 @@
ifeq ($(TOPLEVEL), yes)
$(info top-level build)
-include ../../.config.mk
+ override DESTDIR := $(TOP_DESTDIR)
else
$(info package-level build)
-include ../../.config.mk
@@ -15,7 +16,7 @@ $(info prefix is $(prefix))
all:
@echo run \'make install\' to install
-spa_dir=$(prefix)/share/taler/aml-backoffice-ui
+spa_dir=$(DESTDIR)$(prefix)/share/taler/aml-backoffice-ui
.PHONY: install-nodeps
install-nodeps: