58 lines
1.7 KiB
Diff
58 lines
1.7 KiB
Diff
|
commit a965f7e0609acc6107ffbbf70054776ee3c81918
|
||
|
Author: Matthew Booth <mbooth@redhat.com>
|
||
|
Date: Thu May 12 10:07:06 2011 +0100
|
||
|
|
||
|
p2v-client: Build rdoc with options
|
||
|
|
||
|
Use rdoc options taken from gemspec generated by echoe.
|
||
|
|
||
|
diff --git a/p2v/client/virt-p2v.gemspec b/p2v/client/virt-p2v.gemspec
|
||
|
index d8edde8..610c2a3 100644
|
||
|
--- a/p2v/client/virt-p2v.gemspec
|
||
|
+++ b/p2v/client/virt-p2v.gemspec
|
||
|
@@ -72,25 +72,23 @@ GEMSPEC = Gem::Specification.new do |s|
|
||
|
s.add_dependency(%q<net-ssh>, [">= 0"])
|
||
|
end
|
||
|
|
||
|
-# Source doesn't contain any rdoc
|
||
|
-# s.extra_rdoc_files = [
|
||
|
-# "bin/virt-p2v",
|
||
|
-# "lib/virt-p2v/blockdevice.rb",
|
||
|
-# "lib/virt-p2v/connection.rb",
|
||
|
-# "lib/virt-p2v/converter.rb",
|
||
|
-# "lib/virt-p2v/gtk-queue.rb",
|
||
|
-# "lib/virt-p2v/netdevice.rb",
|
||
|
-# "lib/virt-p2v/ui/connect.rb",
|
||
|
-# "lib/virt-p2v/ui/convert.rb",
|
||
|
-# "lib/virt-p2v/ui/main.rb",
|
||
|
-# "lib/virt-p2v/ui/network.rb",
|
||
|
-# "lib/virt-p2v/ui/p2v.ui",
|
||
|
-# "lib/virt-p2v/ui/success.rb"
|
||
|
-# ]
|
||
|
-# s.rdoc_options = [
|
||
|
-# "--line-numbers",
|
||
|
-# "--inline-source",
|
||
|
-# "--title",
|
||
|
-# "Virt-p2v"
|
||
|
-# ]
|
||
|
+ s.extra_rdoc_files = [
|
||
|
+ "bin/virt-p2v",
|
||
|
+ "lib/virt-p2v/blockdevice.rb",
|
||
|
+ "lib/virt-p2v/connection.rb",
|
||
|
+ "lib/virt-p2v/converter.rb",
|
||
|
+ "lib/virt-p2v/gtk-queue.rb",
|
||
|
+ "lib/virt-p2v/netdevice.rb",
|
||
|
+ "lib/virt-p2v/ui/connect.rb",
|
||
|
+ "lib/virt-p2v/ui/convert.rb",
|
||
|
+ "lib/virt-p2v/ui/main.rb",
|
||
|
+ "lib/virt-p2v/ui/network.rb",
|
||
|
+ "lib/virt-p2v/ui/p2v.ui",
|
||
|
+ "lib/virt-p2v/ui/success.rb"
|
||
|
+ ]
|
||
|
+ s.rdoc_options = [
|
||
|
+ "--line-numbers",
|
||
|
+ "--inline-source",
|
||
|
+ "--title", "virt-p2v"
|
||
|
+ ]
|
||
|
end
|