This is an automated email from the ASF dual-hosted git repository.

zghao pushed a commit to branch HBASE-14850
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit b4bfd7492f5803217ca1c8d6068ba21b132dda0b
Author: Enis Soztutar <[email protected]>
AuthorDate: Fri Sep 15 17:55:30 2017 -0700

    HBASE-18725 [C++] Install header files as well as library - ADDENDUM to 
only install .h files for if/
---
 hbase-native-client/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hbase-native-client/Makefile b/hbase-native-client/Makefile
index 4d6430c..cd818ca 100644
--- a/hbase-native-client/Makefile
+++ b/hbase-native-client/Makefile
@@ -104,7 +104,8 @@ protos: $(PROTO_CXX_DIR) $(PROTOSRC) $(PROTOHDR)
 
 install_headers:
        cp -r $(INCLUDE_HBASE)/hbase $(LOCAL_INCLUDE_DIR)
-       cp -r $(PROTO_CXX_DIR) $(LOCAL_INCLUDE_DIR)/hbase/
+       mkdir -p $(LOCAL_INCLUDE_DIR)/hbase/if
+       cp -r $(PROTO_CXX_DIR)/*.h $(LOCAL_INCLUDE_DIR)/hbase/if
 
 uninstall_headers:
        rm -rf $(LOCAL_INCLUDE_DIR)/hbase

Reply via email to