You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ks...@apache.org on 2020/01/12 12:50:37 UTC

[arrow] branch master updated: ARROW-7540: [C++] Install license files and README

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

kszucs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 26f586f  ARROW-7540: [C++] Install license files and README
26f586f is described below

commit 26f586ff198f4cf8c720d88a70f2439c5342e938
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Sun Jan 12 13:50:18 2020 +0100

    ARROW-7540: [C++] Install license files and README
    
    Closes #6158 from kou/cpp-install-license-files and squashes the following commits:
    
    cbbb831fb <Sutou Kouhei>  Install license files and README
    
    Authored-by: Sutou Kouhei <ko...@clear-code.com>
    Signed-off-by: Krisztián Szűcs <sz...@gmail.com>
---
 cpp/CMakeLists.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index 33b0b92..89f09e7 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -90,6 +90,7 @@ endif()
 set(BUILD_SUPPORT_DIR "${CMAKE_SOURCE_DIR}/build-support")
 
 set(ARROW_CMAKE_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
+set(ARROW_DOC_DIR "share/doc/${PROJECT_NAME}")
 
 set(ARROW_LLVM_VERSION "7.0")
 # TODO: Remove this when we drop LLVM 7 support.
@@ -818,6 +819,11 @@ if(ARROW_BUILD_EXAMPLES)
   add_subdirectory(examples/arrow)
 endif()
 
+install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../LICENSE.txt
+              ${CMAKE_CURRENT_SOURCE_DIR}/../NOTICE.txt
+              ${CMAKE_CURRENT_SOURCE_DIR}/README.md
+        DESTINATION "${ARROW_DOC_DIR}")
+
 config_summary_message()
 if(${ARROW_BUILD_CONFIG_SUMMARY_JSON})
   config_summary_json()