From b7a8ff77659667be1aa3648e0c422026f45b9e62 Mon Sep 17 00:00:00 2001 From: nuffer Date: Thu, 13 May 2004 03:27:50 +0000 Subject: [PATCH] Modified the scanner generation rule to update the bootstrap version when the scanner is regenerated --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/$@ $@; \ -- 2.50.1