* t/lex-headers.sh: Don't use 'yl_distcheck', simply call "make distcheck"
instead, as GNU make cannot suffer of the FreeBSD bug 'yl_distcheck' was
meant to guard against.
(Makefile.am): Don't use $(AM_MAKEFLAGS) when invoking make recursively.
This avoids a maintainer-check failure.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
# Recover from removal of header.
mylex.h: foo-lexer.c
test -f $@ || rm -f foo-lexer.c
- test -f $@ || $(MAKE) $(AM_MAKEFLAGS) foo-lexer.c
+ test -f $@ || $(MAKE) foo-lexer.c
END
cat > lexer.l << 'END'
test -f mylex.h
# Sanity check on distribution.
-yl_distcheck
+$MAKE distcheck
: