aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui
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/merchant-backoffice-ui
parent61424e2cb51dde9a8c7442b20b6621cc8b1d3b26 (diff)
downloadwallet-core-467f96869536a76ed0d129e38f237a77b31b1f60.tar.xz
build system: support DESTDIR
Diffstat (limited to 'packages/merchant-backoffice-ui')
-rw-r--r--packages/merchant-backoffice-ui/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/Makefile b/packages/merchant-backoffice-ui/Makefile
index 1f7e0bf2b..7175ef723 100644
--- a/packages/merchant-backoffice-ui/Makefile
+++ b/packages/merchant-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/merchant-backoffice
+spa_dir=$(DESTDIR)$(prefix)/share/taler/merchant-backoffice
.PHONY: deps
deps: