change find from . to google to avoid picking up extra files

This commit is contained in:
Gary Belvin 2015-05-28 23:10:53 -07:00
parent de73bfd24b
commit bbccccb7b3
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ LANGUAGE ?= cpp
# directory is not "/usr/local/include", you need to modify this file.
#
DEPS:= $(shell find . -type f -name '*.proto' | sed 's/proto$$/pb.go/')
DEPS:= $(shell find google -type f -name '*.proto' | sed 's/proto$$/pb.go/')
FLAGS+= --proto_path=.:/usr/local/include
ifeq ($(LANGUAGE),go)
FLAGS+= --$(LANGUAGE)_out=plugins=grpc:$(OUTPUT)