[#686] Wall compilation — Michal Rokos <michal@...>
Hi everybody,
[#688] mkmf.rb - add files to clean and distclean targets — Michal Rokos <michal@...>
Hi,
On Thu, 16 Jan 2003, Michal Rokos wrote:
Hi,
Hi,
On Tue, Jan 21, 2003 at 11:16:39AM +0900, Yukihiro Matsumoto wrote:
Hi,
On Tue, Jan 21, 2003 at 06:38:00PM +0900, Yukihiro Matsumoto wrote:
Hi,
On Tue, Jan 21, 2003 at 11:37:35PM +0900, Yukihiro Matsumoto wrote:
Hi,
Hello,
Hi,
Hi,
Hi,
Hi,
[#708] Documentation for thread.rb — Gavin Sinclair <gsinclair@...>
Hi ruby-core,
[#719] nd_end and NODE_NEWLINE (fwd) — Chad Fowler <chad@...>
[#724] Symbols: More Functionality Wanted — Ryan Pavlik <rpav@...>
I've been discussing this for a bit on #ruby-lang on OPN (or freenode or
Hi,
On 20 Jan 2003 at 15:49, Yukihiro Matsumoto wrote:
Hi --
On Thursday, January 23, 2003, 6:28:04 AM, dblack wrote:
Gavin Sinclair <gsinclair@soyabean.com.au> writes:
Hi,
matz@ruby-lang.org (Yukihiro Matsumoto) writes:
Hi,
On Fri, 24 Jan 2003 03:34:46 +0900
[#730] Comments on matrix.rb — Gavin Sinclair <gsinclair@...>
Hi -core,
[#757] Extensions for Time and ParseDate — Ryan Davis <ryand-ruby@...>
Eric and I have been hacking around and we can't stand the lack of
[#759] Adding Test::Unit to CVS — "Nathaniel Talbott" <nathaniel@...>
Matz has already given me the go-ahead to add Test::Unit to CVS, but I
Nathaniel Talbott wrote:
On Wednesday, January 22, 2003, at 07:56 AM, Dave Thomas wrote:
Re: [RFC] mkmf.rb - add files to clean and distclean targets
Hi, nobu.nokada@softhome.net wrote: >> You have the patch so do what you want with it... It's in your hands. > I'd like you to commit the patch, regards. :) Just posting it again to be sure that I'll commit the right thing :) Could I commit (makes it sence while you're working on better version)? Michal
Attachments (1)
Index: lib/mkmf.rb
===================================================================
RCS file: /src/ruby/lib/mkmf.rb,v
retrieving revision 1.124
diff -u -p -r1.124 mkmf.rb
--- lib/mkmf.rb 19 Jan 2003 19:14:22 -0000 1.124
+++ lib/mkmf.rb 21 Jan 2003 13:38:49 -0000
@@ -639,8 +639,6 @@ def create_makefile(target, srcprefix =
target = nil if $objs == ""
- cleanfiles = []
- distcleanfiles = []
if target and EXPORT_PREFIX
origdef = target + '.def'
deffile = EXPORT_PREFIX + origdef
@@ -665,7 +663,7 @@ def create_makefile(target, srcprefix =
end
end
end
- distcleanfiles << deffile unless deffile == origdef
+ $distcleanfiles << deffile unless deffile == origdef
end
libpath = libpathflag(libpath)
@@ -677,8 +675,8 @@ def create_makefile(target, srcprefix =
LIBPATH = #{libpath}
DEFFILE = #{deffile}
-CLEANFILES = #{cleanfiles.join(' ')}
-DISTCLEANFILES = #{distcleanfiles.join(' ')}
+CLEANFILES = #{$cleanfiles.join(' ')}
+DISTCLEANFILES = #{$distcleanfiles.join(' ')}
target_prefix = #{target_prefix}
LOCAL_LIBS = #{$LOCAL_LIBS}
@@ -809,11 +807,14 @@ def init_mkmf(config = CONFIG)
end
$LOCAL_LIBS = ""
+
+ $cleanfiles = []
+ $distcleanfiles = []
+
dir_config("opt")
end
init_mkmf
-dir_config("opt")
$make = with_config("make-prog", ENV["MAKE"] || "make")
make, = Shellwords.shellwords($make)