summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-14 04:01:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-14 04:01:54 +0000
commitbbe047d4c7ae008d8c5bbf7df84c5c31dc810b8c (patch)
treec304504a72ee45f5bcadc6d17f93bf5f71b038f9 /common.mk
parent19faee195a7f5a9cc5e24b64cc655f79c10ac872 (diff)
download config files
* common.mk (update-config_files): rule to download config files. * tool/config.guess, tool/config.sub: remove and download from the upstream. * tool/get-config_files: download config files from GNU. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index d1ba79b5c4..a1db48b2b0 100644
--- a/common.mk
+++ b/common.mk
@@ -1019,9 +1019,15 @@ gdb-ruby: $(PROGRAM) run.gdb PHONY
dist:
$(BASERUBY) $(srcdir)/tool/make-snapshot tmp $(RELNAME)
-up::
+up:: update-config_files
-$(Q)$(MAKE) $(MFLAGS) REVISION_FORCE=PHONY "$(REVISION_H)"
+update-config_files: $(srcdir)/tool/config.guess $(srcdir)/tool/config.sub
+$(srcdir)/tool/config.guess:
+ $(Q) $(BASERUBY) -C $(@D) config_files.rb $(@F)
+$(srcdir)/tool/config.sub:
+ $(Q) $(BASERUBY) -C $(@D) config_files.rb $(@F)
+
info: info-program info-libruby_a info-libruby_so info-arch
info-program:
@echo PROGRAM=$(PROGRAM)