From fe011304e7cddc0080ca59cb0df0bbe21bf203bb Mon Sep 17 00:00:00 2001 From: yugui Date: Sat, 17 Jan 2009 10:40:51 +0000 Subject: * configure.in (VCSUP): fixed the cases for git-svn or git. * win32/Makefile.sub (VCSUP): ditto. * Makefile.in (up): `cd' is necessary for git and git-svn. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 8 ++++++++ Makefile.in | 2 +- configure.in | 4 ++-- win32/Makefile.sub | 4 ++-- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index fb33e1732e..6fed1d8f5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Sat Jan 17 19:33:48 2009 Yuki Sonoda (Yugui) + + * configure.in (VCSUP): fixed the cases for git-svn or git. + + * win32/Makefile.sub (VCSUP): ditto. + + * Makefile.in (up): `cd' is necessary for git and git-svn. + Sat Jan 17 19:16:16 2009 Tanaka Akira * ext/socket/mkconstants.rb: generate a header file for generated diff --git a/Makefile.in b/Makefile.in index 73a3512972..5f6316c67a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -249,7 +249,7 @@ ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c ext/extinit.c up:: - @LC_TIME=C $(VCSUP) "$(srcdir)" + @LC_TIME=C cd "$(srcdir)" && $(VCSUP) update-rubyspec: @if [ -d $(srcdir)/spec/mspec ]; then \ diff --git a/configure.in b/configure.in index 77c00343a5..264903ea3f 100644 --- a/configure.in +++ b/configure.in @@ -2172,10 +2172,10 @@ AC_CONFIG_FILES(Makefile, [{ VCSUP='$(VCS) up $(SVNUPOPTIONS)' elif test -d "$srcdir/.git/svn"; then VCS='git svn' - VCSUP='$(VCS) up $(SVNUPOPTIONS)' + VCSUP='$(VCS) rebase $(GITSVNREBASEOPTIONS)' elif test -d "$srcdir/.git"; then VCS='git' - VCSUP='$(VCS) up $(GITUPOPTIONS)' + VCSUP='$(VCS) pull $(GITPULLOPTIONS)' else VCS='echo cannot' VCSUP='$(VCS)' diff --git a/win32/Makefile.sub b/win32/Makefile.sub index ee712835b2..a57e79bd4a 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -282,10 +282,10 @@ VCS = svn VCSUP = $(VCS) up $(SVNUPOPTIONS) !else if exist($(srcdir)/.git/svn) VCS = git svn -VCSUP = $(VCS) up $(SVNUPOPTIONS) +VCSUP = $(VCS) rebase $(GITSVNREBASEOPTIONS) !else if exist($(srcdir)/.git) VCS = git -VCSUP = $(VCS) up $(GITUPOPTIONS) +VCSUP = $(VCS) pull $(GITPULLOPTIONS) !endif all: $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub $(srcdir)/common.mk -- cgit v1.2.3