Re: Bug#209008: debian-policy: [PROPOSAL] common interface for parallel building in DEB_BUILD_OPTIONS

2003-09-07 Thread Robert Jordens
Hello! That's a lot of boilerplate, almost enough to call for a program to parse DEB_BUILD_OPTIONS. I don't understand why we have an environment variable with a complex set of values in the first place. Surely something lile DEB_BUILD_OPTIONS_PARALLELL=n, DEB_BUILD_OPTIONS_NOPT, and

Re: Bug#209008: debian-policy: [PROPOSAL] common interface for parallel building in DEB_BUILD_OPTIONS

2003-09-07 Thread Manoj Srivastava
On Sat, 6 Sep 2003 19:12:50 -0400, Joey Hess [EMAIL PROTECTED] said: Robert Jordens wrote: +ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS))) + PARALLEL_JOBS := $(shell echo $(DEB_BUILD_OPTIONS) | \ + sed -e 's/.*parallel=\([0-9]\+\).*/\1/') + ifeq ($(DEB_BUILD_OPTIONS),$(PARALLEL_JOBS))

Re: Bug#209008: debian-policy: [PROPOSAL] common interface for parallel building in DEB_BUILD_OPTIONS

2003-09-07 Thread Colin Watson
On Sun, Sep 07, 2003 at 01:33:36PM -0500, Manoj Srivastava wrote: On Sat, 6 Sep 2003 19:12:50 -0400, Joey Hess [EMAIL PROTECTED] said: Robert Jordens wrote: +ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS))) + PARALLEL_JOBS := $(shell echo $(DEB_BUILD_OPTIONS) | \ + sed -e

Re: Bug#209008: debian-policy: [PROPOSAL] common interface for parallel building in DEB_BUILD_OPTIONS

2003-09-07 Thread Joey Hess
Colin Watson wrote: Using separate environment variable names would fix that problem, not that I particularly relish the idea of trying to get it changed everywhere. Me either. If we didn't want to change the existing flags, we could still reserve DEB_BUILD_OPTIONS_* for extensions. I'd