summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--lib/mkmf.rb4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9df2626936..1bd54d8419 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 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