summaryrefslogtreecommitdiff
path: root/lib/rdoc/rdoc.rb
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-12 16:06:35 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-12 16:06:35 +0000
commit6cea9bc9041bd8a74d53cb7b647d6957180b9957 (patch)
tree7a60770ac3505c72761ffc9224fdde226f819fec /lib/rdoc/rdoc.rb
parentd094d007202904ad036a8034f0b6b23feb6dbe38 (diff)
Try to use DESTDIR when installing
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/rdoc.rb')
-rw-r--r--lib/rdoc/rdoc.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rdoc/rdoc.rb b/lib/rdoc/rdoc.rb
index ddcf217c4b..215826c4f3 100644
--- a/lib/rdoc/rdoc.rb
+++ b/lib/rdoc/rdoc.rb
@@ -159,6 +159,7 @@ module RDoc
when "file"
file_list << rel_file_name
when "directory"
+ next if rel_file_name == "CVS" || rel_file_name == ".svn"
next if options.exclude && options.exclude =~ rel_file_name
dot_doc = File.join(rel_file_name, DOT_DOC_FILENAME)
if File.file?(dot_doc)