summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-13 04:09:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-13 04:09:15 +0000
commiteaa1bcab351e3d5e835a69687aff8dbee007bb1d (patch)
tree44a17a9b6febec9390839ded94d6b15ed6770552 /Makefile.in
parent7fe95731a811ed3b8775eefe0f7da5e6bec4db93 (diff)
* tool/make-snapshot: fix for clean up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index da742b1a34..ab3fa699cb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -181,9 +181,12 @@ $(srcdir)/configure: $(srcdir)/configure.in
# * svn checkout generate a file with mtime as current time
# * XFS has a mtime with fractional part
lex.c: keywords
+ @\
if cmp -s $(srcdir)/lex.c.src $?; then \
+ set -x; \
cp $(srcdir)/lex.c.blt $@; \
else \
+ set -x; \
gperf -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? > $@.tmp && \
mv $@.tmp $@ && \
cp $? $(srcdir)/lex.c.src && \