diff options
Diffstat (limited to 'plugins/protobuffs.mk')
-rw-r--r-- | plugins/protobuffs.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/protobuffs.mk b/plugins/protobuffs.mk index b4f9ce6..809df42 100644 --- a/plugins/protobuffs.mk +++ b/plugins/protobuffs.mk @@ -9,6 +9,7 @@ proto_verbose = $(proto_verbose_$(V)) # Core targets. ifneq ($(wildcard src/),) +ifneq ($(filter gpb protobuffs,$(BUILD_DEPS) $(DEPS)),) PROTO_FILES := $(filter %.proto,$(ALL_SRC_FILES)) ERL_FILES += $(addprefix src/,$(patsubst %.proto,%_pb.erl,$(notdir $(PROTO_FILES)))) @@ -55,3 +56,4 @@ $(PROJECT).d:: $(PROTO_FILES) $(if $(strip $?),$(proto_verbose) $(call erlang,$(call compile_proto.erl,$?))) endif endif +endif |