mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
report how lex.c handled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
efd8303bc3
commit
7687666c45
1 changed files with 3 additions and 3 deletions
|
@ -169,12 +169,12 @@ $(srcdir)/configure: $(srcdir)/configure.in
|
||||||
# * XFS has a mtime with fractional part
|
# * XFS has a mtime with fractional part
|
||||||
lex.c: keywords
|
lex.c: keywords
|
||||||
if test -f $@ && test -z "`find $? -newer $@ -print`"; then \
|
if test -f $@ && test -z "`find $? -newer $@ -print`"; then \
|
||||||
touch $@; \
|
( touch $@ && echo $@ touched. ) \
|
||||||
elif test -f $(srcdir)/lex.c && test -z "`find $? -newer $(srcdir)/lex.c -print`"; then \
|
elif test -f $(srcdir)/lex.c && test -z "`find $? -newer $(srcdir)/lex.c -print`"; then \
|
||||||
cp $(srcdir)/lex.c $@; \
|
( cp $(srcdir)/lex.c $@ && echo $@ copied. ) \
|
||||||
else \
|
else \
|
||||||
( gperf --output-file=$@.tmp -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? && cp $@.tmp $@ ) || \
|
( gperf --output-file=$@.tmp -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? && cp $@.tmp $@ ) || \
|
||||||
( test -f $@ && touch $@ ) \
|
( test -f $@ && touch $@ && echo $@ touched after gperf fail. ) \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
.y.c:
|
.y.c:
|
||||||
|
|
Loading…
Add table
Reference in a new issue