wallet-core/packages/aml-backoffice-ui/Makefile

37 lines
692 B
Makefile
Raw Normal View History

2023-05-05 13:50:35 +02:00
# This Makefile has been placed in the public domain
ifeq ($(TOPLEVEL), yes)
$(info top-level build)
-include ../../.config.mk
2023-09-28 17:50:53 +02:00
override DESTDIR := $(TOP_DESTDIR)
else
$(info package-level build)
-include ../../.config.mk
-include .config.mk
endif
2023-05-05 13:50:35 +02:00
$(info prefix is $(prefix))
.PHONY: all
2023-05-05 13:50:35 +02:00
all:
@echo run \'make install\' to install
2023-09-28 17:50:53 +02:00
spa_dir=$(DESTDIR)$(prefix)/share/taler/aml-backoffice-ui
2023-05-05 13:50:35 +02:00
.PHONY: install-nodeps
install-nodeps:
install -d $(spa_dir)
install ./dist/prod/* $(spa_dir)
.PHONY: deps
deps:
2023-06-05 15:04:09 +02:00
pnpm install --frozen-lockfile --filter @gnu-taler/aml-backoffice-ui...
2023-05-05 13:50:35 +02:00
pnpm run check
pnpm run build
.PHONY: install
install:
$(MAKE) deps
$(MAKE) install-nodeps
2023-05-05 13:50:35 +02:00