diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | configure.in | 4 | ||||
-rw-r--r-- | win32/Makefile.sub | 4 |
4 files changed, 13 insertions, 5 deletions
@@ -1,3 +1,11 @@ +Sat Jan 17 19:33:48 2009 Yuki Sonoda (Yugui) <yugui@yugui.jp> + + * 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 <akr@fsij.org> * 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 |