mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* instruby.rb (lib): installs all files other than README etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5eb2a2e117
commit
483225e521
1 changed files with 2 additions and 7 deletions
|
@ -345,14 +345,9 @@ end
|
|||
install?(:local, :comm, :lib) do
|
||||
puts "installing library scripts"
|
||||
|
||||
Dir.chdir srcdir
|
||||
makedirs [rubylibdir]
|
||||
|
||||
for f in Dir["lib/**/*{.rb,help-message}"]
|
||||
dir = File.dirname(f).sub!(/\Alib/, rubylibdir) || rubylibdir
|
||||
makedirs dir
|
||||
install f, dir, :mode => $data_mode
|
||||
end
|
||||
noinst = %w[README* *.txt *.rdoc]
|
||||
install_recursive(File.join(srcdir, "lib"), rubylibdir, :no_install => noinst, :mode => $data_mode)
|
||||
end
|
||||
|
||||
install?(:local, :arch, :lib) do
|
||||
|
|
Loading…
Reference in a new issue