ruby-changes:4169
From: ko1@a...
Date: Sat, 1 Mar 2008 14:13:45 +0900 (JST)
Subject: [ruby-changes:4169] matz - Ruby:r15659 (trunk): * tool/make-snapshot: make prereq uses MINIRUBY.
matz 2008-03-01 14:13:28 +0900 (Sat, 01 Mar 2008) New Revision: 15659 Modified files: trunk/ChangeLog trunk/tool/make-snapshot Log: * tool/make-snapshot: make prereq uses MINIRUBY. * tool/make-snapshot: allow packaging like 1.9.0-1 by second command-line argument. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15659&r2=15658&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/tool/make-snapshot?r1=15659&r2=15658&diff_format=u Index: ChangeLog =================================================================== --- ChangeLog (revision 15658) +++ ChangeLog (revision 15659) @@ -1,3 +1,10 @@ +Sat Mar 1 13:46:26 2008 Yukihiro Matsumoto <matz@r...> + + * tool/make-snapshot: make prereq uses MINIRUBY. + + * tool/make-snapshot: allow packaging like 1.9.0-1 by second + command-line argument. + Sat Mar 1 13:11:03 2008 Tanaka Akira <akr@f...> * test/ruby/allpairs.rb: new file for all pairs method. Index: tool/make-snapshot =================================================================== --- tool/make-snapshot (revision 15658) +++ tool/make-snapshot (revision 15659) @@ -3,8 +3,8 @@ LC_ALL=C LANG=C SVNURL=http://svn.ruby-lang.org/repos/ruby/trunk export LC_ALL LANG -: ${VPATH=include/ruby} ${YACC=bison} ${BASERUBY=ruby} ${RUBY=ruby} ${MV=mv} -export VPATH YACC BASERUBY RUBY MV +: ${VPATH=include/ruby} ${YACC=bison} ${BASERUBY=ruby} ${RUBY=ruby} ${MV=mv} ${MINIRUBY=ruby} +export VPATH YACC BASERUBY RUBY MV MINIRUBY if [ ! "$1" ]; then echo usage: `basename $0` new-directory-to-save 1>&2 @@ -16,11 +16,11 @@ tmp="${TMP_DIR-/tmp}/ruby-snapshot-$$" mkdir -p "$tmp" (cd "$tmp" -revision=`svn export $SVNURL ruby | sed -n '$s/[^0-9]//gp'` +revision=r`svn export $SVNURL ruby | sed -n '$s/[^0-9]//gp'` [ $revision ] || revision=`svn info $SVNURL | sed -n 's/Revision: //p'` echo "#define RUBY_REVISION $revision" > ruby/revision.h version=`sed -n -e '/^#define RUBY_VERSION /s/[^0-9.]//gp' ruby/version.h` -v=ruby-$version-r$revision +v=ruby-$version-${2-$revision} mv ruby $v (cd $v; autoconf; (sed '/lex\.c/,/^$/!d' Makefile.in; sed 's/{[^{}]*}//g' common.mk) | make -f - prereq srcdir=.) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/