Bug#879049: debian-policy: Clarify how nodoc is to be used with DEB_BUILD_OPTIONS & DEB_BUILD_PROFILES

Bill Allombert <[email protected]> Thu, 2 Apr 2026 10:52:47 +0200
Newsgroups gmane.linux.debian.devel.policy
Message-ID <ac4uX4tMpgJ0zpl3__41122.3628836282$1775120188$gmane$org@seventeen>
On Wed, Apr 01, 2026 at 11:58:18PM +0200, Santiago Vila wrote:
> Now I wonder if this nodoc profile is something that every package is
> supposed to support, or maybe it would make sense to have some opt-out
> or opt-in mechanism, like a field in debian/control, to indicate
> whether or not the nodoc build is supported for such package.

More generally, if we want package DEB_BUILD_PROFILES/DEB_BUILD_OPTIONS to
be supported correctly, we need better maintainers tools to test ose builds,

But this will still be a huge effort.

Cheers,