Bruno Haible via Gnulib discussion list <bug-gnulib@gnu.org> writes:

> For the Automake-generated "make dvi" target,
>   - texinfo.tex is needed always,
>   - and epsf.tex is needed if the documentation contains figures.
>
> Note that "make dvi" is included in "make distcheck".
>
> On a Debian or Ubuntu system with the packages
>   texinfo texlive-base texlive-latex-base
> installed, "make distcheck" therefore works in most packages,
> but does not work in packages whose documentation contains figures,
> such as GNU Bison.
>
> How to reproduce:
>
> $ git clone git://git.savannah.gnu.org/bison
> $ cd bison
> $ git submodule update --init --recursive
> $ ./bootstrap
> $ ./configure
> $ make
> $ make distcheck

FWIW,

I find that having 'make dvi' invoked by 'make distcheck' is adding a
large cost for a small benefit.  The cost is installing all of texlive
for each and every CI/CD job.  The benefit, from what I can understand,
is that the DVI manual is always built to catch any bugs preventing it
from being buildable.  The generated tarballs are identical with or
without texlive.  I find that checking if the manual is possible to
build is better done as a separate CI/CD job that builds the manual, not
for every job that wants to prepare tarballs.  It feels like this
required dependency could be relaxed into an optional dependency, used
when available, but not trigger build failures when texlive is missing.

Fortunately I've found a workaround for the texlive requirement:

make distcheck AM_DISTCHECK_DVI_TARGET=

This way, texlive is no longer required to run 'make distcheck'.

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to