updated makefiles to build/clean protobuf files
This commit is contained in:
parent
088230515e
commit
0677a5c718
5 changed files with 9 additions and 7 deletions
|
@ -11,9 +11,11 @@ SETUPPY = setup.py
|
|||
SETUPPYFLAGS = -v
|
||||
|
||||
if WANT_DOCS
|
||||
SUBDIRS = doc
|
||||
DOCS = doc
|
||||
endif
|
||||
|
||||
SUBDIRS = proto $(DOCS)
|
||||
|
||||
SCRIPT_FILES := $(notdir $(wildcard scripts/*))
|
||||
MAN_FILES := $(notdir $(wildcard ../man/*.1))
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
all:
|
||||
python -m grpc_tools.protoc -I . --python_out=../core/grpc --grpc_python_out=../core/grpc core.proto
|
||||
|
||||
clean:
|
||||
rm core_pb2*
|
5
daemon/proto/Makefile.am
Normal file
5
daemon/proto/Makefile.am
Normal file
|
@ -0,0 +1,5 @@
|
|||
all:
|
||||
$(PYTHON) -m grpc_tools.protoc -I . --python_out=../core/grpc --grpc_python_out=../core/grpc core.proto
|
||||
|
||||
clean:
|
||||
-rm -f ../core/grpc/core_pb2*
|
Loading…
Add table
Add a link
Reference in a new issue