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
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,7 +5,6 @@
|
|||
.version.date
|
||||
Makefile
|
||||
!kernel/**/Makefile
|
||||
!daemon/proto/Makefile
|
||||
Makefile.in
|
||||
aclocal.m4
|
||||
autom4te.cache
|
||||
|
|
|
@ -240,6 +240,7 @@ AC_CONFIG_FILES([Makefile
|
|||
daemon/Makefile
|
||||
daemon/doc/Makefile
|
||||
daemon/doc/conf.py
|
||||
daemon/proto/Makefile
|
||||
netns/Makefile
|
||||
netns/version.h
|
||||
ns3/Makefile],)
|
||||
|
|
|
@ -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…
Reference in a new issue