* lib/mkmf.rb: Make sure to dig the destination directory before

installing a file there.  Formerly "make install" could fail
  depending on make(1)'s mood of the moment, especially when -jN
  is given.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2002-11-27 17:51:27 +00:00
parent 0cf319ce54
commit ba9627f0da
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
Thu Nov 28 02:40:42 2002 Akinori MUSHA <knu@iDaemons.org>
* lib/mkmf.rb: Make sure to dig the destination directory before
installing a file there. Formerly "make install" could fail
depending on make(1)'s mood of the moment, especially when -jN
is given.
Wed Nov 27 17:39:38 2002 Akinori MUSHA <knu@iDaemons.org>
* ext/syslog/syslog.c: Cut redundancy.

View File

@ -700,7 +700,7 @@ clean::
f = "$(DLLIB)"
dest = "#{dir}/#{f}"
mfile.print "install: #{dest}\n"
mfile.print "#{dest}: #{f}\n\t@$(INSTALL_PROG) #{f} #{dir}\n"
mfile.print "#{dest}: #{f} #{dir}\n\t@$(INSTALL_PROG) #{f} #{dir}\n"
end
for i in [[["lib/**/*.rb", "$(RUBYLIBDIR)", "lib"]], $INSTALLFILES]
files = install_files(mfile, i, nil, srcprefix) or next
@ -712,7 +712,7 @@ clean::
files.each do |f|
dest = "#{dir}/#{File.basename(f)}"
mfile.print("install: #{dest}\n")
mfile.print("#{dest}: #{f}\n\t@$(INSTALL_DATA) #{f} #{dir}\n")
mfile.print("#{dest}: #{f} #{dir}\n\t@$(INSTALL_DATA) #{f} #{dir}\n")
end
end
end