diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-09-23 12:48:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-09-23 12:48:15 +0000 |
commit | ba3d6005837aab1815131512ca4918f17ee12d07 (patch) | |
tree | bf80425f930dc97e96fdecf145bee48ac9eb02d5 /lib | |
parent | 9f4f1545010b42c23a7085de5db9ae6ce06f1148 (diff) | |
download | ruby-ba3d6005837aab1815131512ca4918f17ee12d07.tar.gz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mkmf.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index b16465da48..a01d317756 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -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 |