]> granicus.if.org Git - re2c/commitdiff
Modified the scanner generation rule to update the bootstrap version when the scanner...
authornuffer <nuffer@642ea486-5414-0410-9d7f-a0204ed87703>
Thu, 13 May 2004 03:27:50 +0000 (03:27 +0000)
committernuffer <nuffer@642ea486-5414-0410-9d7f-a0204ed87703>
Thu, 13 May 2004 03:27:50 +0000 (03:27 +0000)
Makefile.am

index b68a09a4e420038130832507ed30690a95eb62b3..38d9c210c20ba31c97f1dcf10a2c411d70743364 100755 (executable)
@@ -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/$@ $@; \