#990362 debian-policy: Obsolete advice on multiple builds

#990362#5
Date:
2021-06-27 09:50:38 UTC
From:
To:
Hi,

In 4.9 "Main building script: debian/rules", we find the following
paragraph under the description "build (required)":

"""

"""


I think the "binary target will have to build the package in each of the
possible ways" part is a remanent from the time Debian did *not* support
build-arch and build-indep.


A much better recommendation would be to have build-arch and build-indep
targets depend on the relevant build-a, build-b (etc.) targets to keep
the build out of the binary target.  Notably they are builds plus the
binary target *can* be run under (fake)root.

Thanks,
~Niels