wallet-core/packages/demobank-ui/Makefile

38 lines
733 B
Makefile
Raw Permalink Normal View History

# 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
$(info prefix is $(prefix))
.PHONY: all
all:
@echo run \'make install\' to install
2023-09-28 17:50:53 +02:00
spa_dir=$(DESTDIR)$(prefix)/share/taler/demobank-ui
.PHONY: deps
deps:
pnpm install --frozen-lockfile --filter @gnu-taler/demobank-ui...
2023-09-11 19:56:32 +02:00
pnpm run --filter @gnu-taler/demobank-ui... compile
pnpm run check
pnpm run build
.PHONY: install-nodeps
install-nodeps:
install -d $(spa_dir)
2023-06-05 14:39:05 +02:00
install ./dist/prod/* $(spa_dir)
.PHONY: install
install:
$(MAKE) deps
$(MAKE) install-nodeps