mkmf.rb: directory timestamp
* lib/mkmf.rb (create_makefile): use timestamp file dependencies for directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9f4f154501
commit
ba3d600583
@ -1,4 +1,7 @@
|
||||
Sun Sep 23 21:46:12 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Sun Sep 23 21:48:08 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb (create_makefile): use timestamp file dependencies for
|
||||
directories.
|
||||
|
||||
* lib/mkmf.rb: unexpand macros.
|
||||
|
||||
|
@ -2126,14 +2126,14 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""}
|
||||
if target
|
||||
f = "$(DLLIB)"
|
||||
dest = "#{dir}/#{f}"
|
||||
mfile.puts dest
|
||||
if $extout
|
||||
mfile.puts dest
|
||||
mfile.print "clean-so::\n"
|
||||
mfile.print "\t-$(Q)$(RM) #{fseprepl[dest]}\n"
|
||||
mfile.print "\t-$(Q)$(RMDIRS) #{fseprepl[dir]}#{$ignore_error}\n"
|
||||
else
|
||||
mfile.print "#{dest}: #{f}\n\t-$(Q)$(MAKEDIRS) $(@D#{sep})\n"
|
||||
mfile.print "\t$(INSTALL_PROG) #{fseprepl[f]} $(@D#{sep})\n"
|
||||
mfile.print "#{f} #{timestamp_file(dir)}\n"
|
||||
mfile.print "\t$(INSTALL_PROG) #{fseprepl[f]} #{dir}\n"
|
||||
if defined?($installed_list)
|
||||
mfile.print "\t@echo #{dir}/#{File.basename(f)}>>$(INSTALLED_LIST)\n"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user