* t/txinfo-override-texinfo-tex.sh: Here. The issue was pre-existing, but
has been only recently exposed by the fix for automake bug#18286 "distcheck
fails to detect missing files" (see commit
v1.14.1-4-g01a7a4a) and by the
BSD make semantics. To convince yourself this change actually makes sense
semantically, see https://sourceware.org/ml/binutils/2012-06/msg00004.html
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
END
cat > Makefile.am << 'END'
-TEXINFO_TEX = $(srcdir)/tex/texinfo.tex
+TEXINFO_TEX = ../tex/texinfo.tex
info_TEXINFOS = main.texi
sure_it_exists:
- test -f $(TEXINFO_TEX)
+ test -f $(srcdir)/$(TEXINFO_TEX)
sure_it_is_not_distributed: distdir
test ! -f $(distdir)/tex/texinfo.tex
+check-local: sure_it_exists
END
cat > main.texi << 'END'
./configure
-$MAKE sure_it_exists
$MAKE distcheck
$MAKE sure_it_is_not_distributed