updated makefiles to build/clean protobuf files

This commit is contained in:
bharnden 2019-03-26 08:58:29 -07:00
parent 088230515e
commit 0677a5c718
5 changed files with 9 additions and 7 deletions

View file

@ -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))

View file

@ -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
View 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*