* lib/mkmf.rb (create_makefile): ensure library directories get made

before copying libraries there.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2005-04-02 14:39:38 +00:00
Родитель b54682b7ea
Коммит df9cf4fc67
2 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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)}"