]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - Rakefile
slashdot plugin: fix filter for multiple articles
[user/henk/code/ruby/rbot.git] / Rakefile
index bf08c83f6670723963cc7b35c4f838c860aa5423..822fe7327fe1f841ca28194470f67118f382bf5b 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -6,7 +6,7 @@ task :default => [:buildext]
 
 spec = Gem::Specification.new do |s|
   s.name = 'rbot'
-  s.version = '0.9.11'
+  s.version = '0.9.15'
   s.summary = <<-EOF
     A modular ruby IRC bot.
   EOF
@@ -209,8 +209,7 @@ task :buildext do
 end
 
 desc 'Generate mo files'
-task :makemo => LOCALES.map {|l|
-  ["data/locale/#{l}/LC_MESSAGES/rbot.mo"] +
-  PLUGIN_BASENAMES.map {|n| "data/locale/#{l}/LC_MESSAGES/rbot-#{n}.mo"}
-}.flatten
+task :makemo =>
+  FileList['po/*/*.po'].pathmap('%{^po,data/locale}d/LC_MESSAGES/%n.mo')
+