X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=policy.sgml;h=2c0c72ad77ed5ebf6b49cded4c26a9ce024b574b;hb=fd12af4ff32ea9c025a0e9c21127d78cf120051c;hp=465a1293b8b03dfe74e046d8dcb74c0af3ef2292;hpb=e729022ef948c6c423c32e96ba9313f9529e1ff8;p=debian%2Fdebian-policy.git diff --git a/policy.sgml b/policy.sgml index 465a129..2c0c72a 100644 --- a/policy.sgml +++ b/policy.sgml @@ -1951,7 +1951,7 @@

- A package may also provide both of the targets + A package may also provide one or both of the targets build-arch and build-indep. The build-arch target, if provided, should perform all the configuration and compilation required for @@ -1964,9 +1964,13 @@ architecture-independent binary packages (those packages for which the body of the Architecture field in debian/control is all). - The build target should depend on those of the - targets build-arch and build-indep that - are provided in the rules file. +

+ +

+ If build-arch or build-indep targets are + provided in the rules file, the build target + should either depend on those targets or take the same + actions as invoking those targets would perform. The intent of this split is so that binary-only builds need not install the dependencies required for the build-indep target. However, this is not