[Groonga-commit] pgroonga/pgroonga at 8be3aa5 [master] windows: add "--VERSION" on install

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Apr 27 23:11:43 JST 2015


Kouhei Sutou	2015-04-27 23:11:43 +0900 (Mon, 27 Apr 2015)

  New Revision: 8be3aa5405f59dd56a4d8c56ced91bec7103e0ea
  https://github.com/pgroonga/pgroonga/commit/8be3aa5405f59dd56a4d8c56ced91bec7103e0ea

  Message:
    windows: add "--VERSION" on install

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+5 -1)
===================================================================
--- CMakeLists.txt    2015-04-27 23:10:25 +0900 (de2e654)
+++ CMakeLists.txt    2015-04-27 23:11:43 +0900 (0a0b7e0)
@@ -49,7 +49,11 @@ install(TARGETS libpgroonga
 
 install(FILES
   "${PROJECT_SOURCE_DIR}/${PGRN_PROJECT_ID}.control"
-  "${PROJECT_SOURCE_DIR}/${PGRN_PROJECT_ID}--${PGRN_VERSION}.sql"
+  DESTINATION "${PGRN_EXTENSION_DATA_DIR}")
+
+install(FILES
+  "${PROJECT_SOURCE_DIR}/${PGRN_PROJECT_ID}.sql"
+  RENAME "${PGRN_PROJECT_ID}--${PGRN_VERSION}.sql"
   DESTINATION "${PGRN_EXTENSION_DATA_DIR}")
 
 install(FILES
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index