зеркало из https://github.com/github/ruby.git
* 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:
Родитель
5eb2a2e117
Коммит
483225e521
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче