[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Does debhelper handle build-indep ?



On Wed, May 23, 2001 at 09:09:03AM -0400, Peter S Galbraith wrote:
> 
> I should probably shut up about this, but something has always
> bugged me (which means I'm probably doing it wrong).
> 
> Take for example /usr/share/doc/debhelper/examples/rules.multi,
> The targets are like so:
> 
> binary-indep: build install
> 
> binary-arch: build install
> 
> Both `binary-indep` and `binary-arch` depend on the build
> target.  Why would you want to do a build (which will have
> arch-specific components) for `binary-indep` ?

Great question!  Please check http://bugs.debian.org/72335 and
consider seconding it, so that we can at long last begin to resolve
this issue in a standard way.  It proposes the (optional) introduction
of two new targets: build-arch and build-indep which do -- guess what?
And build will depend on both.  (Of course, there may be packages for
which splitting the build is infeasible.  But that's not a problem;
just do it all in build-arch and have build-indep depend on
build-arch.)

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: