diff options
author | Tom Tromey <tromey@redhat.com> | 2001-05-15 02:21:54 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2001-05-15 02:21:54 +0000 |
commit | 1be94280d5faa04be2d8f58a7670710c041cfc67 (patch) | |
tree | 5f96fb073f59c84f617a6c36a3337c57580af31e /lib/am/yacc.am | |
parent | 1582434290688d8b87a3081ce49f0dab346179ca (diff) | |
download | automake-1be94280d5faa04be2d8f58a7670710c041cfc67.tar.gz |
Fix for yaccvpath.test:
* tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
* lib/am/distdir.am (distdir): Always look for file in build
directory first.
* lib/ylwrap: Quote the `#line' regular expression.
* lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
change; don't run sed on the generated file.
* tests/yaccvpath.test: Create new parser in srcdir. Added test
to make sure parser will be rebuilt at dist time.
Diffstat (limited to 'lib/am/yacc.am')
-rw-r--r-- | lib/am/yacc.am | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/am/yacc.am b/lib/am/yacc.am index 344fb9ecb..0d7e10531 100644 --- a/lib/am/yacc.am +++ b/lib/am/yacc.am @@ -21,8 +21,7 @@ if %?YLWRAP% $(SHELL) $(YLWRAP) $(YACC) $< y.tab.c $*%C_SUFFIX% y.tab.h $*.h -- $(AM_YFLAGS) $(YFLAGS) else !%?YLWRAP% - $(YACC) $(AM_YFLAGS) $(YFLAGS) $< - sed -e '/^#/ s,$(srcdir)/,,' y.tab.c > $*%C_SUFFIX% + $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*%C_SUFFIX% if test -f y.tab.h; then \ if cmp -s y.tab.h $*.h; then \ rm -f y.tab.h; \ |