Browse files

i18n my rakefile

  • Loading branch information...
1 parent 0f86c9d commit 5fd77a566bded7cf567e8474b59ba80aeec02d65 @tenderlove committed Aug 10, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
4 Rakefile
@@ -8,8 +8,8 @@ require "rake/extensiontask"
name = 'neversaydie'
HOE = Hoe.spec name do
developer('Aaron Patterson', 'aaronp@rubyforge.org')
- self.readme_file = 'README.rdoc'
- self.history_file = 'CHANGELOG.rdoc'
+ self.readme_file = ['README', ENV['HLANG'], 'rdoc'].compact.join('.')
+ self.history_file = ['CHANGELOG', ENV['HLANG'], 'rdoc'].compact.join('.')
self.extra_rdoc_files = FileList['*.rdoc']
spec_extras[:extensions] = "ext/neversaydie/extconf.rb"
self.rubyforge_name = 'seattlerb'

0 comments on commit 5fd77a5

Please sign in to comment.