* src/Makefile.am (bison.simple): Fix the awk program: quote only

the file name, not the whole `#line LINE FILE'.
This commit is contained in:
Akim Demaille
2000-03-17 13:33:02 +00:00
parent 75bbe78d87
commit dbe7f27171
2 changed files with 6 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ EXTRA_DIST = bison.s1 bison.hairy build.com bison.cld vmshlp.mar
bison.simple: bison.s1 Makefile
sed -e "s/@bison_version@/$(VERSION)/" $(srcdir)/bison.s1 | \
awk '\
/^#line/ { printf "\"#line %d $(datadir)/bison.simple\"\n", NR+1; next }\
/^#line/ { printf "#line %d \"$(datadir)/bison.simple\"\n", NR+1; next }\
{ print }' >$@t
mv $@t $@