mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
defs/gmake.mk: update again after comit [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0d45ea8d8a
commit
5242bca205
1 changed files with 3 additions and 0 deletions
|
@ -139,6 +139,7 @@ else ifeq ($(VCS),svn)
|
|||
VCSCOMMIT = $(VCS) commit $(SVNCOMMITOPTIONS)
|
||||
else ifeq ($(VCS),git svn)
|
||||
VCSCOMMIT = $(VCS) dcommit $(GITSVNCOMMITOPTIONS)
|
||||
VCSWAIT = sleep 2 # wait for svn to git sync
|
||||
else ifeq ($(VCS),git)
|
||||
VCSCOMMIT := $(VCS) push $(GITCOMMITOPTIONS)
|
||||
endif
|
||||
|
@ -146,4 +147,6 @@ ifneq ($(VCSCOMMIT),)
|
|||
.PHONY: commit
|
||||
commit: $(if $(filter commit,$(MAKECMDGOALS)),$(filter-out commit,$(MAKECMDGOALS)))
|
||||
@$(CHDIR) "$(srcdir)" && LC_TIME=C exec $(VCSCOMMIT)
|
||||
$(Q)$(VCSWAIT)
|
||||
$(Q)$(MAKE) $(mflags) Q=$(Q) REVISION_FORCE=PHONY update-src srcs all-incs
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue