* t/ctags.sh, t/etags.sh: Here, for better coverage and debuggability.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
# Test vi-style tags.
-required=ctags
+required=${CTAGS:=ctags}
. ./defs || exit 1
cat >> configure.ac << 'END'
$AUTOMAKE -i
./configure
-$MAKE test-ctags
-$MAKE distcheck
+$MAKE test-ctags CTAGS="$CTAGS"
+$MAKE distcheck CTAGS="$CTAGS"
$MAKE distclean
find . -name tags | grep . && exit 1
# Test to make sure tags and subdirs work correctly. Bug report by
# François Pinard, and later by Akim Demaille.
-required=etags
+required=${ETAGS:=etags}
. ./defs || exit 1
cat >> configure.ac << 'END'
$AUTOMAKE -i
./configure
-$MAKE test-tags
-$MAKE distcheck
+$MAKE test-tags ETAGS="$ETAGS"
+$MAKE distcheck ETAGS="$ETAGS"
$MAKE distclean
find . -name TAGS | grep . && exit 1