From 2a413f97a497b2e86a0523b5c849e3fc075e887c Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 6 Mar 2009 09:37:31 +0000 Subject: * configure.in, Makefile.in, win32/Makefile.sub (CHDIR): cd using phisical directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- Makefile.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index bdbe36d9bd..d258e1ffcf 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,6 +1,7 @@ SHELL = /bin/sh NULLCMD = : RUNCMD = $(SHELL) +CHDIR = @CHDIR@ exec = exec #### Start of system configuration section. #### @@ -174,10 +175,10 @@ uncommon.mk: $(srcdir)/common.mk sed 's/{\$$([^(){}]*)[^{}]*}//g' $< > $@ config.status: $(srcdir)/configure $(srcdir)/enc/Makefile.in - MINIRUBY="$(MINIRUBY)" $(SHELL) ./config.status --recheck + PWD= MINIRUBY="$(MINIRUBY)" $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.in - unset PWD; cd $(srcdir) && exec $(AUTOCONF) + $(CHDIR) $(srcdir) && exec $(AUTOCONF) incs: id.h id.h: parse.h $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.h.tmpl @@ -247,11 +248,11 @@ ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c ext/extinit.c up:: - @cd "$(srcdir)" && LC_TIME=C exec $(VCSUP) + @$(CHDIR) "$(srcdir)" && LC_TIME=C exec $(VCSUP) update-rubyspec: @if [ -d $(srcdir)/spec/mspec ]; then \ - cd $(srcdir)/spec/mspec; \ + $(CHDIR) $(srcdir)/spec/mspec; \ echo updating mspec ...; \ git pull; \ cd ../..; \ @@ -260,7 +261,7 @@ update-rubyspec: git clone $(MSPEC_GIT_URL) $(srcdir)/spec/mspec; \ fi @if [ -d $(srcdir)/spec/rubyspec ]; then \ - cd $(srcdir)/spec/rubyspec; \ + $(CHDIR) $(srcdir)/spec/rubyspec; \ echo updating rubyspec ...; \ git pull; \ else \ -- cgit v1.2.3