[Groonga-commit] groonga/groonga at 025583e [master] Use directory as separator instead of "_" for Ruby scripts path

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Oct 8 21:47:25 JST 2013


Kouhei Sutou	2013-10-08 21:47:25 +0900 (Tue, 08 Oct 2013)

  New Revision: 025583e63c91cfa55b98fc2579f9846c1d644c9f
  https://github.com/groonga/groonga/commit/025583e63c91cfa55b98fc2579f9846c1d644c9f

  Message:
    Use directory as separator instead of "_" for Ruby scripts path
    
    ${libdir}/groonga/ruby_scripts/ ->
    ${libdir}/groonga/scripts/ruby/
                      ^^^^^^^^^^^^
    
    Because plugins directory uses the convention such as
    plugins/tokenizers/.

  Modified files:
    CMakeLists.txt
    configure.ac

  Modified: CMakeLists.txt (+1 -1)
===================================================================
--- CMakeLists.txt    2013-10-08 21:39:45 +0900 (f5a5bf8)
+++ CMakeLists.txt    2013-10-08 21:47:25 +0900 (f73e22b)
@@ -78,7 +78,7 @@ set(GRN_QUERY_EXPANDER_TSV_RELATIVE_SYNONYMS_FILE "synonyms.tsv")
 set(GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE
   "${CMAKE_INSTALL_PREFIX}/${GRN_DATA_DIR}/${GRN_QUERY_EXPANDER_TSV_RELATIVE_SYNONYMS_FILE}")
 set(GRN_RELATIVE_RUBY_SCRIPTS_DIR
-  "${LIB_DIR}/${GRN_PROJECT_NAME}/ruby_scripts")
+  "${LIB_DIR}/${GRN_PROJECT_NAME}/scripts/ruby")
 set(GRN_RUBY_SCRIPTS_DIR
   "${CMAKE_INSTALL_PREFIX}/${GRN_RELATIVE_RUBY_SCRIPTS_DIR}")
 

  Modified: configure.ac (+1 -1)
===================================================================
--- configure.ac    2013-10-08 21:39:45 +0900 (de4ce71)
+++ configure.ac    2013-10-08 21:47:25 +0900 (c632a29)
@@ -1214,7 +1214,7 @@ examples_dictionarydir="\$(examplesdir)/dictionary"
 AC_SUBST(examples_dictionarydir)
 
 # for ruby scripts
-relative_ruby_scriptsdir_base="\$(PACKAGE)/ruby_scripts"
+relative_ruby_scriptsdir_base="\$(PACKAGE)/scripts/ruby"
 AC_SUBST(relative_ruby_scriptsdir_base)
 ruby_scriptsdir="\${libdir}/\$(relative_ruby_scriptsdir_base)"
 AC_SUBST(ruby_scriptsdir)
-------------- next part --------------
HTML����������������������������...
Download 



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