ruby-changes:6056
From: nobu <ko1@a...>
Date: Wed, 25 Jun 2008 00:01:50 +0900 (JST)
Subject: [ruby-changes:6056] Ruby:r17565 (ruby_1_8): * common.mk (revision.h): moved from Makefile.in.
nobu 2008-06-25 00:01:29 +0900 (Wed, 25 Jun 2008) New Revision: 17565 Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/Makefile.in branches/ruby_1_8/common.mk Log: * common.mk (revision.h): moved from Makefile.in. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/common.mk?r1=17565&r2=17564&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/Makefile.in?r1=17565&r2=17564&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=17565&r2=17564&diff_format=u Index: ruby_1_8/Makefile.in =================================================================== --- ruby_1_8/Makefile.in (revision 17564) +++ ruby_1_8/Makefile.in (revision 17565) @@ -86,6 +86,7 @@ RANLIB = @RANLIB@ AS = @AS@ ASFLAGS = @ASFLAGS@ +SET_LC_MESSAGES = env LC_MESSAGES=C OBJEXT = @OBJEXT@ MANTYPE = @MANTYPE@ @@ -200,11 +201,3 @@ test-rubyspec: @if [ ! -d $(srcdir)/rubyspec ]; then echo No rubyspec here. make update-rubyspec first.; exit 1; fi $(RUNRUBY) $(srcdir)/rubyspec/mspec/bin/mspec -r$(srcdir)/ext/purelib.rb $(srcdir)/rubyspec/spec/rubyspec/$(MAJOR).$(MINOR) - - -$(srcdir)/revision.h: revision.h.tmp - @if [ -f "$@" ] && { [ ! -s $? ] || cmp "$@" $? >/dev/null; }; then \ - $(RM) $?; \ - else \ - mv -f $? "$@"; \ - fi Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 17564) +++ ruby_1_8/ChangeLog (revision 17565) @@ -1,3 +1,7 @@ +Wed Jun 25 00:01:27 2008 Nobuyoshi Nakada <nobu@r...> + + * common.mk (revision.h): moved from Makefile.in. + Tue Jun 24 21:34:15 2008 Masaki Suketa <masaki.suketa@n...> * ext/win32ole/win32ole.c(ole_invoke): fix memory leak. Index: ruby_1_8/common.mk =================================================================== --- ruby_1_8/common.mk (revision 17564) +++ ruby_1_8/common.mk (revision 17565) @@ -471,6 +471,13 @@ dist: $(PROGRAM) $(RUNRUBY) $(srcdir)/distruby.rb +{$(VPATH)}revision.h: revision.h.tmp + @if [ -f $(srcdir)/revision.h ] && { [ ! -s $? ] || cmp $(srcdir)/revision.h $? >/dev/null; }; then \ + $(RM) $?; \ + else \ + mv -f $? $(srcdir)/revision.h; \ + fi + revision.h.tmp: $(REVISION_FORCE) @set LC_MESSAGES=C -@$(SET_LC_MESSAGES) $(VCS) info "$(srcdir)" | \ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/