module Hoe::Publish

def make_rdoc_cmd(*extra_args)

def make_rdoc_cmd(*extra_args)
  title = "#{name}-#{version} Documentation"
  title = "#{rubyforge_name}'s #{title}" if rubyforge_name != name
  rdoc  = Gem.bin_wrapper "rdoc"
  %W[#{rdoc}
     --title #{title}
     -o #{local_rdoc_dir}
    ] +
    spec.rdoc_options +
    extra_args +
    spec.require_paths +
    spec.extra_rdoc_files
end