summaryrefslogtreecommitdiff
path: root/defs/gmake.mk
diff options
context:
space:
mode:
Diffstat (limited to 'defs/gmake.mk')
-rw-r--r--defs/gmake.mk14
1 files changed, 1 insertions, 13 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk
index 3698f33..d961e27 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -136,22 +136,10 @@ $(TIMESTAMPDIR)/.exec.time:
$(Q) mkdir exec
$(Q) exit > $@
-ifneq (,)
-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
-ifneq ($(VCSCOMMIT),)
.PHONY: commit
commit: $(if $(filter commit,$(MAKECMDGOALS)),$(filter-out commit,$(MAKECMDGOALS)))
- @$(CHDIR) "$(srcdir)" && LC_TIME=C exec $(VCSCOMMIT)
- $(Q)$(VCSWAIT)
+ @$(BASERUBY) -C "$(srcdir)" -I./tool -rvcs -e 'VCS.detect(".").commit'
$(Q)$(MAKE) $(mflags) Q=$(Q) REVISION_FORCE=PHONY update-src srcs all-incs
-endif
ifeq ($(words $(filter update-gems extract-gems,$(MAKECMDGOALS))),2)
extract-gems: update-gems