copy proto to distribute directory
authorJun Shi <junshi@yahoo-inc.com>
Fri, 22 Jan 2016 13:09:21 +0000 (05:09 -0800)
committerJun Shi <junshi@yahoo-inc.com>
Fri, 22 Jan 2016 19:14:34 +0000 (11:14 -0800)
Makefile

index 985fffd..5a6e74f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -651,6 +651,8 @@ superclean: clean supercleanfiles
 $(DIST_ALIASES): $(DISTRIBUTE_DIR)
 
 $(DISTRIBUTE_DIR): all py | $(DISTRIBUTE_SUBDIRS)
+       # add proto
+       cp -r src/caffe/proto $(DISTRIBUTE_DIR)/
        # add include
        cp -r include $(DISTRIBUTE_DIR)/
        mkdir -p $(DISTRIBUTE_DIR)/include/caffe/proto