make: pass mobile subserver prefix to docker when generating mobile RPC

This commit is contained in:
Johan T. Halseth
2021-04-06 12:52:27 +02:00
parent 2338a12729
commit 2868b22083
3 changed files with 4 additions and 3 deletions

View File

@@ -282,8 +282,8 @@ sample-conf-check:
for flag in $$(GO_FLAGS_COMPLETION=1 go run -tags="$(RELEASE_TAGS)" $(PKG)/cmd/lnd -- | grep -v help | cut -c3-); do if ! grep -q $$flag sample-lnd.conf; then echo "Command line flag --$$flag not added to sample-lnd.conf"; exit 1; fi; done
mobile-rpc:
@$(call print, "Creating mobile RPC from protos.")
cd ./lnrpc; COMPILE_MOBILE=1 ./gen_protos_docker.sh
@$(call print, "Creating mobile RPC from protos (prefix=$(prefix)).")
cd ./lnrpc; COMPILE_MOBILE=1 SUBSERVER_PREFIX=$(prefix) ./gen_protos_docker.sh
vendor:
@$(call print, "Re-creating vendor directory.")