mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
f0a827f087
commit
efd8303bc3
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
Sun Nov 11 18:15:11 2007 Tanaka Akira <akr@fsij.org>
|
||||
Sun Nov 11 18:31:48 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* Makefile.in (lex.c): touch lex.c if gperf failed.
|
||||
* Makefile.in (lex.c): touch lex.c if gperf failed but lex.c exists.
|
||||
Although this may cause non-updated lex.c,
|
||||
svn co may generate keywords newer than lex.c especially on
|
||||
a file system which can record fractional mtime such as XFS.
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue