aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/Makefile
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-02-09 23:42:44 +0100
committerFlorian Dold <florian@dold.me>2023-02-10 00:07:42 +0100
commitebb3e7e3386b3d5e6372f17798932718dfd8b9c7 (patch)
tree5dfbdb387199933b2351efb3b2747ba5cf8d97a8 /packages/taler-harness/Makefile
parent3cf2d4cba919203065f210f80f3f081948ad257a (diff)
build system: convenience target to install CLIs
Diffstat (limited to 'packages/taler-harness/Makefile')
-rw-r--r--packages/taler-harness/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/taler-harness/Makefile b/packages/taler-harness/Makefile
index 8bbca5831..7ccfab205 100644
--- a/packages/taler-harness/Makefile
+++ b/packages/taler-harness/Makefile
@@ -15,9 +15,8 @@ warn-noprefix:
install: warn-noprefix
else
install_target = $(prefix)/lib/taler-harness
-.PHONY: install install-nodeps
-install:
- pnpm install --frozen-lockfile --filter @gnu-taler/taler-harness...
+.PHONY: install deps install-nodeps
+install-nodeps:
./build.mjs
install -d $(prefix)/bin
install -d $(install_target)/bin
@@ -28,4 +27,9 @@ install:
install ./dist/taler-harness-bundled.cjs.map $(install_target)/node_modules/taler-harness/dist/
install ./bin/taler-harness.mjs $(install_target)/node_modules/taler-harness/bin/
ln -sf $(install_target)/node_modules/taler-harness/bin/taler-harness.mjs $(prefix)/bin/taler-harness
+deps:
+ pnpm install --frozen-lockfile --filter @gnu-taler/taler-harness...
+install:
+ $(MAKE) deps
+ $(MAKE) install-nodeps
endif