aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-06-21 09:44:02 +0200
committerFlorian Dold <florian@dold.me>2023-06-21 09:44:02 +0200
commit709adb2d48c8e3c393d2ebfe2482b9947cd2c1e9 (patch)
tree47df9120b663a01c2d83ab90e5c6a7a9675ef206 /Makefile
parenta0e0c5c4a61329886b22e11ccac7626d8861bf79 (diff)
downloadwallet-core-709adb2d48c8e3c393d2ebfe2482b9947cd2c1e9.tar.xz
repo: fix Makefiles / top-level 'make install' target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 20e8d886c..b4a24c5e3 100644
--- a/Makefile
+++ b/Makefile
@@ -115,12 +115,20 @@ lint:
./node_modules/.bin/eslint --ext '.js,.ts,.tsx' 'src'
-install: compile
- @echo Please run \'make install\' from one of the directories in packages/\'
+.PHONY: install
+# Build and install everything
+install:
+ pnpm install
+ pnpm run compile
+ make -C packages/taler-wallet-cli TOPLEVEL=yes install-nodeps
+ 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
+.PHONY: install-tools
# Install taler-wallet-cli and taler-harness
install-tools:
pnpm install --frozen-lockfile --filter @gnu-taler/taler-wallet-cli... --filter @gnu-taler/taler-harness...
pnpm run --filter @gnu-taler/taler-wallet-cli... --filter @gnu-taler/taler-harness... compile
- make -C packages/taler-wallet-cli install-nodeps
- make -C packages/taler-harness install-nodeps
+ make -C packages/taler-wallet-cli TOPLEVEL=yes install-nodeps
+ make -C packages/taler-harness TOPLEVEL=yes install-nodeps