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

Re: FTWCA Policy Section 7.6 (Build-Depends/Build-Depends-Indep)



Pierre Habouzit <madcoder@debian.org> wrote:
>  Section 7.6[1] is an often misunderstood/forgotten part of the Policy
> that explains how Build-Depends and Build-Depends-Indep are used to
> build a package. Here is almost a copy&paste:

>   The dependencies and conflicts they define must be satisfied
>   in order to invoke the targets in debian/rules, as follows:

>   The Build-Depends and Build-Conflicts fields must be satisfied
>   when any of the following targets is invoked:
>      build, clean, binary, binary-arch, build-arch,
>      build-indep, binary-indep.·

>   The Build-Depends-Indep and Build-Conflicts-Indep fields
>   must be satisfied when any of the following targets is invoked:
>      build, build-indep, binary and binary-indep.
[...]

Which basically means that Build-Depends-Indep lists *additional*
packages that are needed for dpkg-buildpackage but _not_ for
"dpkg-buildpackage -B".
   cu andreas



Reply to: