summaryrefslogtreecommitdiffstats
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
commit3f05b5d023fa081968a7de815cf773b22dc42a45 (patch)
tree44a17a9b6febec9390839ded94d6b15ed6770552 /Makefile.in
parent69a1dd4bddd8b665921ba50eaac02299198a24f1 (diff)
downloadruby-3f05b5d023fa081968a7de815cf773b22dc42a45.tar.gz
ruby-3f05b5d023fa081968a7de815cf773b22dc42a45.tar.xz
ruby-3f05b5d023fa081968a7de815cf773b22dc42a45.zip
* tool/make-snapshot: fix for clean up.
git-svn-id: http://svn.ruby-lang.org/repos/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 da742b1a3..ab3fa699c 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 && \