Re: Can we require build-arch/indep targets for lenny?
On Mon, Jun 18, 2007 at 12:25:38PM -0400, Daniel Schepler wrote:
> How about instead requiring something like: the build-arch target must return
> successfully or with a status of 2 (the standard make error status
> for "target not found"), and in the latter case the build target must return
> successfully. That is, if Build-Depends but not necessarily
> Build-Depends-Indep are installed, the shell snippet
>
> debian/rules build-arch || (test $? -eq 2 && debian/rules build)
>
> must work and exit with a status of 0.
>
> This would make it possible for dpkg-buildpackage -B to be reliable while
> allowing most (or even all?) of the current packages to stay as they are
> until maintainers can add the recommended build-arch target.
That has been tried, but it didn't work for some reason.
--
<Lo-lan-do> Home is where you have to wash the dishes.
-- #debian-devel, Freenode, 2004-09-22
Reply to: