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 | |
| 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
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/mkmf.rb | 7 |
2 files changed, 8 insertions, 4 deletions
@@ -1,4 +1,4 @@ -Sat Apr 2 22:34:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> +Sat Apr 2 23:38:54 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> * configure.in (CP, INSTALL): get rid of less portable options. @@ -8,6 +8,9 @@ Sat Apr 2 22:34:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> * wince/configure.bat, wince/setup.mak: add prefix, extstatic and rdoc options. + * lib/mkmf.rb (create_makefile): ensure library directories get made + before copying libraries there. + Sat Apr 2 16:59:46 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> * ext/tk/lib/tk.rb: forgot to update RELEASE_DATE 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)}" |
