summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-27 17:51:27 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-27 17:51:27 +0000
commitba9627f0da0d07974e77df1ed684cd0f1ad2c0ac (patch)
tree47ea5e77820ba6744b14c6d9e217bf55e8eaf7b8
parent0cf319ce5495fd8a52bbfdbadc11a7a6e23bc13d (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--ChangeLog7
-rw-r--r--lib/mkmf.rb4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9df2626..1bd54d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 33ab04c..5700583 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