* ext/extmk.rb.in (create_makefile): use Regexp in gsub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e301edc1c5
commit
d365d1f568
@ -1,3 +1,7 @@
|
|||||||
|
Fri Jul 26 16:01:16 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/extmk.rb.in (create_makefile): use Regexp in gsub.
|
||||||
|
|
||||||
Fri Jul 26 14:31:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Fri Jul 26 14:31:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* random.c: replace with Mersenne Twister RNG.
|
* random.c: replace with Mersenne Twister RNG.
|
||||||
|
@ -649,7 +649,7 @@ $(DLLIB): $(OBJS)
|
|||||||
else
|
else
|
||||||
line.gsub!(/(\s)([^\s\/]+\.[ch])/, '\1{$(srcdir)}\2') if /nmake/i =~ $make
|
line.gsub!(/(\s)([^\s\/]+\.[ch])/, '\1{$(srcdir)}\2') if /nmake/i =~ $make
|
||||||
end
|
end
|
||||||
mfile.printf "%s", line.gsub('\$\(hdrdir\)/config.h', '$(topdir)/config.h')
|
mfile.printf "%s", line.gsub(/\$\(hdrdir\)\/config.h/, '$(topdir)/config.h')
|
||||||
end
|
end
|
||||||
dfile.close
|
dfile.close
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user