X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=policy.sgml;fp=policy.sgml;h=73d5d8fc5a10a2163fe5a9b9a2354a575b370257;hb=c07945c953c57092190bd7cf9594dd59a46fe0e7;hp=5d2105e6cdd8f25a50b695c5c69e2c280e4386e2;hpb=200e375d18b9ae2e548475a22f7d8728d0cb5fa2;p=debian%2Fdebian-policy.git diff --git a/policy.sgml b/policy.sgml index 5d2105e..73d5d8f 100644 --- a/policy.sgml +++ b/policy.sgml @@ -1988,51 +1988,33 @@ zope.
-- A package may also provide one or both of the targets - build-arch and build-indep. - The build-arch target, if provided, should + The build-arch target must perform all the configuration and compilation required for producing all architecture-dependant binary packages (those packages for which the body of the Architecture field in debian/control is not all). Similarly, the build-indep - target, if provided, should perform all the configuration + target must perform all the configuration and compilation required for producing all architecture-independent binary packages (those packages for which the body of the Architecture field in debian/control is all). -
- -
- If build-arch or build-indep targets are
- provided in the rules file, the build target
+ The build target
should either depend on those targets or take the same
actions as invoking those targets would perform.
- If one or both of the targets build-arch and
- build-indep are not provided, then invoking
-
The build-arch and build-indep targets must not do anything that might require root privilege.