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 | 4c2addc19c696faa49abc44687742b211872ab2c (patch) | |
tree | 47ea5e77820ba6744b14c6d9e217bf55e8eaf7b8 /lib | |
parent | f7ac0037977d8927349b226b67f6bbfc1fdb81ed (diff) | |
download | ruby-4c2addc19c696faa49abc44687742b211872ab2c.tar.gz ruby-4c2addc19c696faa49abc44687742b211872ab2c.tar.xz ruby-4c2addc19c696faa49abc44687742b211872ab2c.zip |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@3097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mkmf.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 33ab04c7c..57005836a 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 |