1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Try to use DESTDIR when installing

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
dave 2004-01-12 16:06:35 +00:00
parent d094d00720
commit 6cea9bc904
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Tue Jan 13 01:04:37 2004 Dave Thomas <dave@pragprog.com>
* lib/rdoc/ri/ri_paths.rb (RI::Paths): First attempt at
incorporating DESTDIR in the rdoc installation.
Mon Jan 12 23:26:21 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (primary): fix position after FCALL. [ruby-dev:22574]

View file

@ -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)