On Mon, Oct 20, 2003 at 03:30:52PM +0100, Andrew Suffield wrote: > > The defect is that build-indep is made as root. The advantage over > > Andrew solution is to not make build-arch as root. > > We haven't built packages as root for years. This argument seems > pretty irrelevant.
Buildd do build packages as root, AFAIK, and there are precisely the targeted audience. Also policy don't mandate packages being buildable under fakeroot. > > > > Ultimately we should either deprecate the build* targets, or make > > > > build-{arch,indep} mandatory and deprecate build. > > > > Again there are other possibilities, like using make variable for the > > transition. > > I say this is impossible, on account of it being precisely equivalent > to using the build* targets. Describe such a possibility in detail if > you think otherwise. I don't pretend to implement policy as its stand now, but to provide an alternative which is backward compatible. Here a refinement the proposal in <[EMAIL PROTECTED]>: Add at the top of debian/rules BUILD=build-arch build-indep and changes build target to depend on build: $(BUILD) At this point build-arch is emulated by runinng debian/rules build BUILD=build-arch and build-indep by debian/rules build BUILD=build-indep so far it is the cleanest solution. Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here.