ruby-changes:43994
From: nobu <ko1@a...>
Date: Sun, 4 Sep 2016 14:27:53 +0900 (JST)
Subject: [ruby-changes:43994] nobu:r56067 (trunk): extmk.rb: no ext, no build_complete
nobu 2016-09-04 14:27:48 +0900 (Sun, 04 Sep 2016) New Revision: 56067 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56067 Log: extmk.rb: no ext, no build_complete * ext/extmk.rb (create_makefile): touch gem.build_complete only if building an extension library. Modified files: trunk/ext/extmk.rb Index: ext/extmk.rb =================================================================== --- ext/extmk.rb (revision 56066) +++ ext/extmk.rb (revision 56067) @@ -588,7 +588,7 @@ unless gems.empty? https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L588 "#{$1}$(TARGET_GEM_DIR)$(target_prefix)" } end - conf << %{ + conf.any? {|s| /^TARGET *= *\S/ =~ s} and conf << %{ # default target all: @@ -600,6 +600,7 @@ $(build_complete): $(TARGET_SO) https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L600 $(Q) $(TOUCH) $@ } + conf end end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/