From: nuffer Date: Thu, 13 May 2004 03:27:50 +0000 (+0000) Subject: Modified the scanner generation rule to update the bootstrap version when the scanner... X-Git-Tag: 0.13.6~705 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b7a8ff77659667be1aa3648e0c422026f45b9e62;p=re2c Modified the scanner generation rule to update the bootstrap version when the scanner is regenerated --- diff --git a/Makefile.am b/Makefile.am index b68a09a4..38d9c210 100755 --- a/Makefile.am +++ b/Makefile.am @@ -29,7 +29,7 @@ parser.cc: parser.y scanner.cc: scanner.re @if test -x ./re2c; then \ echo "re2c $(RE2CFLAGS) $< >$@.tmp"; \ - ./re2c $(RE2CFLAGS) $< >$@.tmp && mv $@.tmp $@; \ + ./re2c $(RE2CFLAGS) $< >$@.tmp && mv $@.tmp $@ && cp $@ bootstrap/; \ else \ echo "cp -f bootstrap/$@ $@"; \ cp -f bootstrap/$@ $@; \