summaryrefslogtreecommitdiff
path: root/t/yacc-d-cxx.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/yacc-d-cxx.sh')
-rw-r--r--t/yacc-d-cxx.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/t/yacc-d-cxx.sh b/t/yacc-d-cxx.sh
index 16c4ac3df..8c0d11fee 100644
--- a/t/yacc-d-cxx.sh
+++ b/t/yacc-d-cxx.sh
@@ -66,7 +66,7 @@ mkdir foo bar baz qux baz/sub
cat > Makefile.am <<'END'
.PHONY: echo-distcom
echo-distcom:
- @echo ' ' $(DIST_COMMON) ' '
+ @echo ' ' $(am.dist.common-files) ' '
END
cp Makefile.am foo/Makefile.am
cp Makefile.am bar/Makefile.am
@@ -114,7 +114,6 @@ write_main parse.hpp > bar/main.cpp
# Try with -d in $(AM_YFLAGS), and a subdir parser.
cat >> baz/Makefile.am <<END
-AUTOMAKE_OPTIONS = subdir-objects
bin_PROGRAMS = joe
joe_SOURCES = sub/parse.y++ sub/main.c++
BUILT_SOURCES = sub/parse.h++
@@ -196,7 +195,7 @@ test -f $distdir/qux/maude-parse.hxx
# The Yacc-derived C++ sources must be created, and not removed once
# compiled (i.e., not treated like "intermediate files" in the GNU
# make sense).
-yl_distcheck
+$MAKE distcheck
# Check that we can recover from deleted headers.
$MAKE clean