Bug#430649: Please clarify splitting/syntax of DEB_BUILD_OPTIONS
Package: debian-policy
Version: 3.7.2.2
Severity: normal
Hi,
In the discussions of bug #209008 (parallel building), Peter Samuelson
explained he uses comma-separated keywords in DEB_BUILD_OPTIONS.
Please document how keywords in DEB_BUILD_OPTIONS are allowed to be
separated.
I find the recommendation of the Make function "findstring" a poor
one as it will match subwords and will make it harder to introduce new
keywords (as we will have to ensure the new keywords aren't matched in
current rules).
I would personally push for allowing only space separated keywords as
this makes parsing of DEB_BUILD_OPTIONS really easy, especially in
make. Peter Samuelson uses commas because it's doesn't impose quoting
when spawning a build from a shell command-line.
Bye,
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-rc5-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
-- no debconf information
--
Loïc Minier
Reply to: