diff options
author | Florian Dold <florian@dold.me> | 2023-06-21 09:44:02 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-06-21 09:44:02 +0200 |
commit | 709adb2d48c8e3c393d2ebfe2482b9947cd2c1e9 (patch) | |
tree | 47df9120b663a01c2d83ab90e5c6a7a9675ef206 /Makefile | |
parent | a0e0c5c4a61329886b22e11ccac7626d8861bf79 (diff) |
repo: fix Makefiles / top-level 'make install' target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -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 |