-missing toplevel 'make install' components

This commit is contained in:
Florian Dold 2023-06-21 09:48:16 +02:00
parent 709adb2d48
commit 8f8674defd
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 25 additions and 6 deletions

View File

@ -124,6 +124,7 @@ install:
make -C packages/taler-harness TOPLEVEL=yes install-nodeps
make -C packages/demobank-ui TOPLEVEL=yes install-nodeps
make -C packages/merchant-backoffice-ui TOPLEVEL=yes install-nodeps
make -C packages/aml-backoffice-ui TOPLEVEL=yes install-nodeps
.PHONY: install-tools
# Install taler-wallet-cli and taler-harness

View File

@ -1,17 +1,35 @@
# This Makefile has been placed in the public domain
# Settings from "./configure"
include .config.mk
ifeq ($(TOPLEVEL), yes)
$(info top-level build)
-include ../../.config.mk
else
$(info package-level build)
-include ../../.config.mk
-include .config.mk
endif
$(info prefix is $(prefix))
.PHONY: all
all:
@echo run \'make install\' to install
spa_dir=$(prefix)/share/taler/aml-backoffice-ui
install:
pnpm install --frozen-lockfile --filter @gnu-taler/aml-backoffice-ui...
pnpm run check
pnpm run build
.PHONY: install-nodeps
install-nodeps:
install -d $(spa_dir)
install ./dist/prod/* $(spa_dir)
.PHONY: deps
deps:
pnpm install --frozen-lockfile --filter @gnu-taler/aml-backoffice-ui...
pnpm run check
pnpm run build
.PHONY: install
install:
$(MAKE) deps
$(MAKE) install-nodeps