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

Re: pbuilder --build --binary-arch invokes 'build' target

Petr Pudlak <deb@pudlak.name> writes:

> Now I'm just concerned about (violating) Debian Policy (Sect. 4.9). It states
> that the 'build:' target is mandatory. Should I leave 'build:' commented out,
> possibly violating the policy, or perhaps include it just empty, removing its
> dependencies on 'build-arch' and 'build-indep', so that the policy is
> satisfied?

How about keeping the build: target as is, complete with full
dependencies, but conditionalizing documentation building on the
presence of what it needs?:

         [ ! -x /usr/bin/dvipng ] || [ ! -x /usr/bin/tex4ht ] || \
             [ ! -f /usr/share/texmf-texlive/... ] || \
                 $(MAKE) -C DOC html

(I'm not sure what specifically you need from texlive-latex-extra.)

BTW, I'd also suggest cleaning up your build dependencies:
texlive-latex-extra already depends on -base for you, and sed, mawk,
and gawk have all been at the requisite versions since at least
oldstable, with both sed and mawk setting Priority: required.
(Moreover, allowing the virtual awk package undermines the relevant
version requirements anyway.)

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: