Makefiles: various improvements (#6101)
Don't reinstall proto tools unconditionally every time one runs make. On most Linux systems, /usr/local is writable by root only. Allow users to customise installation directory by passing PREFIX to make command line, e.g.: $ make PREFIX=~/.local
This commit is contained in:
@@ -253,7 +253,7 @@ devdoc-update:
|
||||
### Protobuf ###
|
||||
###############################################################################
|
||||
|
||||
proto-all: proto-gen proto-lint proto-check-breaking
|
||||
proto-all: proto-tools proto-gen proto-lint proto-check-breaking
|
||||
|
||||
proto-gen:
|
||||
@./scripts/protocgen.sh
|
||||
|
||||
Reference in New Issue
Block a user