summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-11 09:32:30 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-11 09:32:30 +0000
commitd89621af34f71c04636484fac07839bb577b8c0f (patch)
treee35907f8788574bd135b4213d6a251054d8f2d22 /Makefile.in
parent63587c30d116fc687737194d8f120bed154cd451 (diff)
downloadruby-d89621af34f71c04636484fac07839bb577b8c0f.tar.gz
ruby-d89621af34f71c04636484fac07839bb577b8c0f.tar.xz
ruby-d89621af34f71c04636484fac07839bb577b8c0f.zip
touch lex.c only if lex.c exists.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 93d56ec6a..96212279c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -174,7 +174,7 @@ lex.c: keywords
cp $(srcdir)/lex.c $@; \
else \
( gperf --output-file=$@.tmp -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? && cp $@.tmp $@ ) || \
- touch $@; \
+ ( test -f $@ && touch $@ ) \
fi
.y.c: