summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 18:24:15 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 18:24:15 +0000
commitefd4bbde49ff239681b174a0ec68d393bb992676 (patch)
tree5f59a323e918352f1bf1052ac747bdae1fbf6dd8 /tool/make-snapshot
parent29595e23d711f5b96350759a6b474233b5ee00df (diff)
* tool/make-snapshot: must create configure and lex.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index b86e13e..9b7d3d3 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -17,7 +17,7 @@ revision=`svn export $SVNURL ruby | sed -n '$s/.*\([0-9]+\).*/\1/p'`
echo "#define RUBY_REVISION $revision" > ruby/revision.h
v=ruby-r$revision
mv ruby $v
-(cd $v; sed 's/{[^{}]*}//g' common.mk | make -f - prereq srcdir=.)
+(cd $v; autoconf; (sed '/lex\.c/,/^$/!d' Makefile.in; sed 's/{[^{}]*}//g' common.mk) | make -f - prereq srcdir=.)
for cmd in "bzip tarball.tar.bz2 tar cjf" "gzip tarball.tar.gz tar czf" "zip archive.zip zip -qr"; do
mesg="${cmd%%.*}" cmd="${cmd#*.}"