diff options
author | Yaohan Chen <yaohan.chen@gmail.com> | 2008-06-20 16:36:00 -0400 |
---|---|---|
committer | Yaohan Chen <yaohan.chen@gmail.com> | 2008-06-20 16:39:41 -0400 |
commit | 43fee5acf9db25c238011c2fb37195bb70600431 (patch) | |
tree | 11e1ce046d01924a334ae404cd037272c13a585b /Rakefile | |
parent | baf5e97c8b6471933cf950ef6122ffe58747a556 (diff) |
move bin/msgmerge-wrapper.rb to top level, as it is not intended for installation
path/command for the msgmerge-wrapper can be adjusted with env var, if
"ruby msgmerge-wrapper.rb" doesn't work on the platform
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ rule(%r'^po/.+\.pot$' => proc {|fn| # fail. we provide a wrapper to work around it. see bin/msgmerge-wrapper.rb for # details ENV['REAL_MSGMERGE_PATH'] = ENV['MSGMERGE_PATH'] -ENV['MSGMERGE_PATH'] = 'bin/msgmerge-wrapper.rb' +ENV['MSGMERGE_PATH'] = ENV['MSGMERGE_WRAPPER_PATH'] || 'ruby msgmerge-wrapper.rb' rule(%r'^po/.+/.+\.po$' => proc {|fn| fn.pathmap '%{^po/.+/,po/}X.pot'}) do |t| require 'gettext/utils' po_file, pot_file = t.name, t.source |