From e114edf205dbec65653b45cef14c1ee4b7a47081 Mon Sep 17 00:00:00 2001 From: Kai Li Date: Sat, 9 Aug 2014 20:41:58 +0800 Subject: [PATCH] Distribute the generated proto header files --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 84f8db26..2c071c8a 100644 --- a/Makefile +++ b/Makefile @@ -558,6 +558,8 @@ $(DIST_ALIASES): $(DISTRIBUTE_DIR) $(DISTRIBUTE_DIR): all py $(HXX_SRCS) | $(DISTRIBUTE_SUBDIRS) # add include cp -r include $(DISTRIBUTE_DIR)/ + mkdir -p $(DISTRIBUTE_DIR)/include/caffe/proto + cp $(PROTO_GEN_HEADER_SRCS) $(DISTRIBUTE_DIR)/include/caffe/proto # add tool and example binaries cp $(TOOL_BINS) $(DISTRIBUTE_DIR)/bin cp $(EXAMPLE_BINS) $(DISTRIBUTE_DIR)/bin