[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#660245: liblog4ada: FTBFS when not building docs: pdflatex: Command not found



Nicolas Boulenguez <nicolas.boulenguez@free.fr> 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
> call
>
>   "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://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu


Reply to: