(debian-policy.info)Relationships between source and binary packages - Build-Depends Build-Depends-Indep Build-Depends-Arch Build-Conflicts Build-Conflicts-Indep Build-Conflicts-Arch


Next: Additional source packages used to build the binary - Built-Using Prev: Overwriting files and replacing packages - Replaces Up: Declaring relationships between packages
Enter node , (file) or (file)node

7.7 Relationships between source and binary packages - ‘Build-Depends’, ‘Build-Depends-Indep’, ‘Build-Depends-Arch’, ‘Build-Conflicts’, ‘Build-Conflicts-Indep’, ‘Build-Conflicts-Arch’
=======================================================================================================================================================================================

Source packages that require certain binary packages to be installed or
absent at the time of building the package may declare relationships to
those binary packages.

This is done using the ‘Build-Depends’, ‘Build-Depends-Indep’,
‘Build-Depends-Arch’, ‘Build-Conflicts’, ‘Build-Conflicts-Indep’ and
‘Build-Conflicts-Arch’ control fields.

Build-dependencies on “build-essential” binary packages can be omitted.
Please see Note: Package relationships. for more information.

The dependencies and conflicts they define must be satisfied (as defined
earlier for binary packages) in order to invoke the targets in
‘debian/rules’, as follows:

‘clean’

     Only the ‘Build-Depends’ and ‘Build-Conflicts’ fields must be
     satisfied when this target is invoked.

‘build-arch’, and ‘binary-arch’

     The ‘Build-Depends’, ‘Build-Conflicts’, ‘Build-Depends-Arch’, and
     ‘Build-Conflicts-Arch’ fields must be satisfied when these targets
     are invoked.

‘build-indep’, and ‘binary-indep’

     The ‘Build-Depends’, ‘Build-Conflicts’, ‘Build-Depends-Indep’, and
     ‘Build-Conflicts-Indep’ fields must be satisfied when these targets
     are invoked.

‘build’ and ‘binary’

     The ‘Build-Depends’, ‘Build-Conflicts’, ‘Build-Depends-Indep’,
     ‘Build-Conflicts-Indep’, ‘Build-Depends-Arch’, and
     ‘Build-Conflicts-Arch’ fields must be satisfied when these targets
     are invoked.


automatically generated by info2www version 1.2.2.9