mkmf.rb: timestamp directory
* lib/mkmf.rb (timestamp_file): gather timestamp files in one directory from each extension directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b77d1a4f34
commit
34b706ff0a
@ -1,3 +1,8 @@
|
|||||||
|
Sat Apr 13 23:06:20 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/mkmf.rb (timestamp_file): gather timestamp files in one
|
||||||
|
directory from each extension directories.
|
||||||
|
|
||||||
Sat Apr 13 21:09:02 2013 NAKAMURA Usaku <usa@ruby-lang.org>
|
Sat Apr 13 21:09:02 2013 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* lib/mkmf.rb (MakeMakefile#create_makefile): output new macro
|
* lib/mkmf.rb (MakeMakefile#create_makefile): output new macro
|
||||||
|
@ -1940,7 +1940,7 @@ preload = #{defined?($preload) && $preload ? $preload.join(' ') : ''}
|
|||||||
name = name.gsub(/\$\((#{pat.join("|")})\)/) {$&+target_prefix}
|
name = name.gsub(/\$\((#{pat.join("|")})\)/) {$&+target_prefix}
|
||||||
end
|
end
|
||||||
name = name.gsub(/(\$[({]|[})])|(\/+)|[^-.\w]+/) {$1 ? "" : $2 ? ".-." : "_"}
|
name = name.gsub(/(\$[({]|[})])|(\/+)|[^-.\w]+/) {$1 ? "" : $2 ? ".-." : "_"}
|
||||||
"./.#{name}.time"
|
"$(TIMESTAMP_DIR)/.#{name}.time"
|
||||||
end
|
end
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
|
|
||||||
@ -2192,6 +2192,7 @@ DLLIB = #{dllib}
|
|||||||
EXTSTATIC = #{$static || ""}
|
EXTSTATIC = #{$static || ""}
|
||||||
STATIC_LIB = #{staticlib unless $static.nil?}
|
STATIC_LIB = #{staticlib unless $static.nil?}
|
||||||
#{!$extout && defined?($installed_list) ? "INSTALLED_LIST = #{$installed_list}\n" : ""}
|
#{!$extout && defined?($installed_list) ? "INSTALLED_LIST = #{$installed_list}\n" : ""}
|
||||||
|
TIMESTAMP_DIR = #{$extout ? '$(extout)/.timestamp' : '.'}
|
||||||
" #"
|
" #"
|
||||||
# TODO: fixme
|
# TODO: fixme
|
||||||
install_dirs.each {|d| mfile.print("%-14s= %s\n" % d) if /^[[:upper:]]/ =~ d[0]}
|
install_dirs.each {|d| mfile.print("%-14s= %s\n" % d) if /^[[:upper:]]/ =~ d[0]}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user