diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-02 14:39:38 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-02 14:39:38 +0000 |
| commit | 5eda89a022da2dee6c601bb3735d4f8654f261b9 (patch) | |
| tree | b77cf70dc7e6545dc3bb0b0766ce16a704010baa /lib/mkmf.rb | |
| parent | 880995872a2689ff6efe0931d3a2b142a78e9457 (diff) | |
| download | ruby-5eda89a022da2dee6c601bb3735d4f8654f261b9.tar.gz ruby-5eda89a022da2dee6c601bb3735d4f8654f261b9.tar.xz ruby-5eda89a022da2dee6c601bb3735d4f8654f261b9.zip | |
* lib/mkmf.rb (create_makefile): ensure library directories get made
before copying libraries there.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mkmf.rb')
| -rw-r--r-- | lib/mkmf.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index c67ffd335..5e83eb76b 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1024,14 +1024,15 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""} end end dirs << (dir = "$(RUBYLIBDIR)") - mfile.print("install-rb: install-rb-default\n") - mfile.print("install-rb-default: #{dir}\n") + mfile.print("install-rb: pre-install-rb install-rb-default\n") + mfile.print("install-rb-default: pre-install-rb-default\n") + mfile.print("pre-install-rb pre-install-rb-default: #{dir}\n") for sfx, i in [["-default", [["lib/**/*.rb", "$(RUBYLIBDIR)", "lib"]]], ["", $INSTALLFILES]] files = install_files(mfile, i, nil, srcprefix) or next for dir, *files in files unless dirs.include?(dir) dirs << dir - mfile.print "install-rb#{sfx}: #{dir}\n" + mfile.print "pre-install-rb#{sfx}: #{dir}\n" end files.each do |f| dest = "#{dir}/#{File.basename(f)}" |
