summaryrefslogtreecommitdiffstats
path: root/instruby.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-16 05:30:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-16 05:30:38 +0000
commit468d0dc1956b02820682d545151c4f9d81f027d3 (patch)
tree07980ca903455bef10d809b61737b7c5e62d4c16 /instruby.rb
parentfd8fc741aab68c91a22548428b83cc01c46599cd (diff)
downloadruby-468d0dc1956b02820682d545151c4f9d81f027d3.tar.gz
ruby-468d0dc1956b02820682d545151c4f9d81f027d3.tar.xz
ruby-468d0dc1956b02820682d545151c4f9d81f027d3.zip
* instruby.rb (lib): installs all files other than README etc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rwxr-xr-xinstruby.rb9
1 files changed, 2 insertions, 7 deletions
diff --git a/instruby.rb b/instruby.rb
index 85fea0ec0..edeaa221a 100755
--- a/instruby.rb
+++ b/instruby.rb
@@ -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