# This Makefile has been placed in the public domain

# Settings from "./configure"
include .config.mk

all:
	@echo run \'make install\' to install

spa_dir=$(prefix)/share/taler/exchange-backoffice-ui

install:
	pnpm install --frozen-lockfile --filter @gnu-taler/exchange-backoffice-ui...
	pnpm run check
	pnpm run build
	install -d $(spa_dir)
	rm -rf ./dist/components
	install ./dist/* $(spa_dir)