diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-11 10:41:35 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-11 10:41:35 +0000 |
commit | 200c3aaa25c07fc40cb4bc9b38a51528e2117807 (patch) | |
tree | 4ece95a583d5abf918a492442376a18680362f10 /Makefile.in | |
parent | ae7a85f54961576ffa5273a6710a550e1473143a (diff) | |
download | ruby-200c3aaa25c07fc40cb4bc9b38a51528e2117807.tar.gz |
* Makefile.in (lex.c): simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Makefile.in b/Makefile.in index c10b5ee2a9..b697cd804a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -168,17 +168,11 @@ $(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 test -f $@ && test -z "`find $? -newer $@ -print`"; then \ + ( gperf --output-file=$@.tmp -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? && mv $@.tmp $@ ) || \ + if test -f $@; then \ ( touch $@ && echo $@ touched. ) \ - elif test -f $(srcdir)/lex.c && test -z "`find $? -newer $(srcdir)/lex.c -print`"; then \ - ( cp $(srcdir)/lex.c $@ && echo $@ copied. ) \ else \ - ( gperf --output-file=$@.tmp -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? && cp $@.tmp $@ ) || \ - if test -f $@; then \ - ( touch $@ && echo $@ touched after gperf fail. ) \ - else \ - ( cp $(srcdir)/lex.c $@ && echo $@ copied after gperf fail. ) \ - fi \ + ( cp $(srcdir)/lex.c $@ && echo $@ copied. ) \ fi .y.c: |