diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-16 08:33:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-16 08:33:02 +0000 |
commit | 72aa4a8c46bb99c3c44675408c7994a2317b871a (patch) | |
tree | c53d83f0d0e87ea591a3f7385965d15b26ed7410 /win32 | |
parent | 0be9fb8caa6e511336dfb9f8348e55b20b1f75f3 (diff) | |
download | ruby-72aa4a8c46bb99c3c44675408c7994a2317b871a.tar.gz |
* configure.in (Makefile): set VCS and VCSUP.
* Makefile.in, win32/Makefile.sub (up): split from common.mk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index f5acdeb92e..3caf064c83 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -277,6 +277,17 @@ arch_hdrdir = $(EXTOUT)/include/$(arch) hdrdir = $(srcdir)/include VPATH = $(arch_hdrdir)/ruby;$(hdrdir)/ruby;$(srcdir);$(srcdir)/enc;$(srcdir)/missing;$(win_srcdir) +!if exist($(srcdir)/.svn) +VCS = svn +VCSUP = $(VCS) up $(SVNUPOPTIONS) +!else if exist($(srcdir)/.git/svn) +VCS = git svn +VCSUP = $(VCS) up $(SVNUPOPTIONS) +!else if exist($(srcdir)/.git) +VCS = git +VCSUP = $(VCS) up $(GITUPOPTIONS) +!endif + all: $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub $(srcdir)/common.mk ruby: $(PROGRAM) @@ -285,6 +296,9 @@ rubyw: $(WPROGRAM) INSNS = opt_sc.inc optinsn.inc optunifs.inc insns.inc insns_info.inc \ vmtc.inc vm.inc +up:: + @ set LC_TIME=C & $(VCSUP) "$(srcdir)" + !include $(srcdir)/common.mk $(MKFILES): $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub $(win_srcdir)/configure.bat $(win_srcdir)/setup.mak $(win_srcdir)/enc-setup.mak $(srcdir)/enc/Makefile.in |