mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
common.mk: update-remote
* common.mk (update-remote): update by downloading remote files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d4ad4d2db7
commit
e48375c112
3 changed files with 13 additions and 14 deletions
|
@ -467,10 +467,10 @@ ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP)
|
||||||
|
|
||||||
enc/encinit.$(OBJEXT): enc/encinit.c $(SETUP)
|
enc/encinit.$(OBJEXT): enc/encinit.c $(SETUP)
|
||||||
|
|
||||||
up::
|
update-src::
|
||||||
@$(CHDIR) "$(srcdir)" && LC_TIME=C exec $(VCSUP)
|
@$(CHDIR) "$(srcdir)" && LC_TIME=C exec $(VCSUP)
|
||||||
|
|
||||||
after-update:: update-config_files common-srcs
|
after-update:: common-srcs
|
||||||
|
|
||||||
update-mspec:
|
update-mspec:
|
||||||
@$(CHDIR) $(srcdir); \
|
@$(CHDIR) $(srcdir); \
|
||||||
|
|
21
common.mk
21
common.mk
|
@ -963,13 +963,17 @@ gdb-ruby: $(PROGRAM) run.gdb PHONY
|
||||||
dist:
|
dist:
|
||||||
$(BASERUBY) $(srcdir)/tool/make-snapshot -srcdir=$(srcdir) tmp $(RELNAME)
|
$(BASERUBY) $(srcdir)/tool/make-snapshot -srcdir=$(srcdir) tmp $(RELNAME)
|
||||||
|
|
||||||
|
up:: update-remote
|
||||||
|
|
||||||
up::
|
up::
|
||||||
-$(Q)$(MAKE) $(MFLAGS) Q=$(Q) REVISION_FORCE=PHONY "$(REVISION_H)"
|
-$(Q)$(MAKE) $(MFLAGS) Q=$(Q) REVISION_FORCE=PHONY "$(REVISION_H)"
|
||||||
|
|
||||||
up::
|
up::
|
||||||
-$(Q)$(MAKE) $(MFLAGS) Q=$(Q) after-update
|
-$(Q)$(MAKE) $(MFLAGS) Q=$(Q) after-update
|
||||||
|
|
||||||
after-update:: update-unicode update-gems extract-extlibs
|
after-update:: extract-extlibs
|
||||||
|
|
||||||
|
update-remote:: update-src update-rubyspec update-config_files update-unicode update-gems
|
||||||
|
|
||||||
update-config_files: PHONY
|
update-config_files: PHONY
|
||||||
$(Q) $(BASERUBY) -C "$(srcdir)/tool" \
|
$(Q) $(BASERUBY) -C "$(srcdir)/tool" \
|
||||||
|
@ -995,8 +999,6 @@ extract-gems: PHONY
|
||||||
-e 'Gem.unpack("#{gem}-#{ver}.gem")' \
|
-e 'Gem.unpack("#{gem}-#{ver}.gem")' \
|
||||||
bundled_gems
|
bundled_gems
|
||||||
|
|
||||||
UPDATE_LIBRARIES = yes
|
|
||||||
|
|
||||||
### set the following environment variable or uncomment the line if
|
### set the following environment variable or uncomment the line if
|
||||||
### the Unicode data files are updated every minute.
|
### the Unicode data files are updated every minute.
|
||||||
# ALWAYS_UPDATE_UNICODE = yes
|
# ALWAYS_UPDATE_UNICODE = yes
|
||||||
|
@ -1005,14 +1007,11 @@ UNICODE_FILES = $(srcdir)/enc/unicode/data/$(UNICODE_VERSION)/UnicodeData.txt \
|
||||||
$(srcdir)/enc/unicode/data/$(UNICODE_VERSION)/CompositionExclusions.txt \
|
$(srcdir)/enc/unicode/data/$(UNICODE_VERSION)/CompositionExclusions.txt \
|
||||||
$(srcdir)/enc/unicode/data/$(UNICODE_VERSION)/NormalizationTest.txt
|
$(srcdir)/enc/unicode/data/$(UNICODE_VERSION)/NormalizationTest.txt
|
||||||
|
|
||||||
update-unicode: $(UNICODE_FILES) PHONY
|
UNICODE_FILES_DEPS = $(srcdir)/.unicode-$(UNICODE_VERSION).time
|
||||||
|
|
||||||
UNICODE_FILES_DEPS0 = $(UPDATE_LIBRARIES:yes=download-unicode-data)
|
update-unicode: $(srcdir)/.unicode-$(UNICODE_VERSION).time PHONY
|
||||||
UNICODE_FILES_DEPS = $(UNICODE_FILES_DEPS0:no=)
|
|
||||||
$(UNICODE_FILES): $(UNICODE_FILES_DEPS)
|
|
||||||
|
|
||||||
download-unicode-data: ./.unicode-$(UNICODE_VERSION).time
|
$(UNICODE_FILES_DEPS):
|
||||||
./.unicode-$(UNICODE_VERSION).time: PHONY
|
|
||||||
$(ECHO) Downloading Unicode $(UNICODE_VERSION) data files...
|
$(ECHO) Downloading Unicode $(UNICODE_VERSION) data files...
|
||||||
$(Q) $(MAKEDIRS) "$(srcdir)/enc/unicode/data/$(UNICODE_VERSION)"
|
$(Q) $(MAKEDIRS) "$(srcdir)/enc/unicode/data/$(UNICODE_VERSION)"
|
||||||
$(Q) $(BASERUBY) -C "$(srcdir)" tool/downloader.rb \
|
$(Q) $(BASERUBY) -C "$(srcdir)" tool/downloader.rb \
|
||||||
|
@ -1023,9 +1022,9 @@ download-unicode-data: ./.unicode-$(UNICODE_VERSION).time
|
||||||
@exit > $@
|
@exit > $@
|
||||||
|
|
||||||
$(srcdir)/$(HAVE_BASERUBY:yes=lib/unicode_normalize/tables.rb): \
|
$(srcdir)/$(HAVE_BASERUBY:yes=lib/unicode_normalize/tables.rb): \
|
||||||
$(UNICODE_FILES_DEPS:download-unicode-data=./.unicode-tables.time)
|
$(srcdir)/.unicode-tables.time
|
||||||
|
|
||||||
./.unicode-tables.time: $(srcdir)/tool/generic_erb.rb \
|
$(srcdir)/.unicode-tables.time: $(srcdir)/tool/generic_erb.rb \
|
||||||
$(UNICODE_FILES) $(UNICODE_FILES_DEPS) \
|
$(UNICODE_FILES) $(UNICODE_FILES_DEPS) \
|
||||||
$(srcdir)/template/unicode_norm_gen.tmpl
|
$(srcdir)/template/unicode_norm_gen.tmpl
|
||||||
$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb \
|
$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb \
|
||||||
|
|
|
@ -454,7 +454,7 @@ scriptbin: $(SCRIPTPROGRAMS)
|
||||||
|
|
||||||
$(SCRIPTPROGRAMS): $(STUBPROGRAM)
|
$(SCRIPTPROGRAMS): $(STUBPROGRAM)
|
||||||
|
|
||||||
up::
|
update-src::
|
||||||
@cd "$(srcdir:/=\)" && set LC_TIME=C && $(VCSUP)
|
@cd "$(srcdir:/=\)" && set LC_TIME=C && $(VCSUP)
|
||||||
|
|
||||||
update-mspec:
|
update-mspec:
|
||||||
|
|
Loading…
Add table
Reference in a new issue