diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-11 09:32:30 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-11 09:32:30 +0000 |
commit | efd8303bc39d07a2bb20c891bf1778077c437e7e (patch) | |
tree | e35907f8788574bd135b4213d6a251054d8f2d22 /Makefile.in | |
parent | f0a827f087db47cb4555491511cebf46e1eeec6c (diff) | |
download | ruby-efd8303bc39d07a2bb20c891bf1778077c437e7e.tar.gz |
touch lex.c only if lex.c exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 93d56ec6a7..96212279c5 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: |