diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-09 06:32:18 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-09 06:32:18 +0000 |
commit | 2bd061f25e93683d7b2aa36f1227cef3df8dd37e (patch) | |
tree | d0ec0d212c1c2a2e4cb9d81a797caebd4cbc6670 /common.mk | |
parent | 9403716fb093e1a6e1c3dfbfb32561dad9d84198 (diff) | |
download | ruby-2bd061f25e93683d7b2aa36f1227cef3df8dd37e.tar.gz |
common.mk: ifchange for mkconfig.rb
* common.mk (RBCONFIG): use ifchange tool to see if the content is
changed and update the timestamp file.
* tool/mkconfig.rb: remove ifchange features.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -624,11 +624,12 @@ extconf: $(PREP) $(RUNRUBY) -C "$(EXTCONFDIR)" $(EXTCONF) $(EXTCONFARGS) $(RBCONFIG): $(srcdir)/tool/mkconfig.rb config.status $(srcdir)/version.h - $(Q)$(BOOTSTRAPRUBY) $(srcdir)/tool/mkconfig.rb -timestamp=$@ \ + $(Q)$(BOOTSTRAPRUBY) $(srcdir)/tool/mkconfig.rb \ -cross_compiling=$(CROSS_COMPILING) \ -arch=$(arch) -version=$(RUBY_PROGRAM_VERSION) \ -install_name=$(RUBY_INSTALL_NAME) \ - -so_name=$(RUBY_SO_NAME) rbconfig.rb + -so_name=$(RUBY_SO_NAME) | \ + $(srcdir)/tool/ifchange --timestamp=$@ rbconfig.rb - test-rubyspec-precheck: |