diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-11-27 17:51:27 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-11-27 17:51:27 +0000 |
commit | ba9627f0da0d07974e77df1ed684cd0f1ad2c0ac (patch) | |
tree | 47ea5e77820ba6744b14c6d9e217bf55e8eaf7b8 | |
parent | 0cf319ce5495fd8a52bbfdbadc11a7a6e23bc13d (diff) |
* 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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/mkmf.rb | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -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. diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 33ab04c7cb..57005836aa 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -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 |