Skip to content
Commit 2b6e4e5f authored by Raphaël Hertzog's avatar Raphaël Hertzog
Browse files

dpkg-buildpackage: use build-arch and build-indep targets of debian/rules



'build-arch' is used when building only arch-any binaries (-B)
while 'build-indep' is used when building only arch-all binaries (-A).
To avoid breaking too many packages, dpkg-buildpackages verifies that
those targets are implemented by calling “make -f debian/rules -qn
<target>” and ensuring that it doesn't fail with exit code 2. Otherwise
it falls back to using the 'build' target.

This fallback is a temporary measure until all packages have been
converted to properly support the build-arch and build-indep targets.

Acked-by: default avatarGuillem Jover <guillem@debian.org>
parent b274d61a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment