Re: Bug#660245: liblog4ada: FTBFS when not building docs: pdflatex: Command not found
Nicolas Boulenguez <email@example.com> writes:
> Do not worry about that. The Debian build daemons are affected by a
> bug. They install both Build-Depends and Build-Depends-Indep, then
> "debian/rules build && fakeroot debian/rules binary-arch"
They do indeed invoke the build target because they can't assume
build-arch, but don't install Build-Depends-Indep, just Build-Depends.
Xavier, you can compensate for that by conditionalizing debian/rules's
documentation target's call to make -C doc:
if dh_listpackages | grep -qe '-doc'; then make -C doc; fi
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://firstname.lastname@example.org