Permalink
Browse files

fix Rakefile

  • Loading branch information...
1 parent 75f6ef8 commit 1ca972538147000c23697b90248497189e20c340 @youpy committed Nov 6, 2009
Showing with 4 additions and 4 deletions.
  1. +4 −4 Rakefile
View
@@ -27,7 +27,7 @@ RDOC_OPTS = [
"--charset", "utf-8",
"--opname", "index.html",
"--line-numbers",
- "--main", "README",
+ "--main", "README.rdoc",
"--inline-source",
]
@@ -45,7 +45,7 @@ spec = Gem::Specification.new do |s|
s.version = VERS
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
- s.extra_rdoc_files = ["README", "ChangeLog"]
+ s.extra_rdoc_files = ["README.rdoc", "ChangeLog"]
s.rdoc_options += RDOC_OPTS + ['--exclude', '^(examples|extras)/']
s.summary = DESCRIPTION
s.description = DESCRIPTION
@@ -60,7 +60,7 @@ spec = Gem::Specification.new do |s|
s.add_dependency('hpricot', '>= 0')
#s.required_ruby_version = '>= 1.8.2'
- s.files = %w(README ChangeLog Rakefile) +
+ s.files = %w(README.rdoc ChangeLog Rakefile) +
Dir.glob("{bin,doc,test,lib,templates,generator,extras,website,script}/**/*") +
Dir.glob("ext/**/*.{h,c,rb}") +
Dir.glob("examples/**/*.rb") +
@@ -93,7 +93,7 @@ Rake::RDocTask.new do |rdoc|
if ENV['DOC_FILES']
rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/))
else
- rdoc.rdoc_files.include('README', 'ChangeLog')
+ rdoc.rdoc_files.include('README.rdoc', 'ChangeLog')
rdoc.rdoc_files.include('lib/**/*.rb')
rdoc.rdoc_files.include('ext/**/*.c')
end

0 comments on commit 1ca9725

Please sign in to comment.