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

Bug#72335: PROPOSED] Optional build-arch and build-indep targets for debian/rules

reopen 72335
retitle 72335 [PROPOSED] Optional build-arch and build-indep targets for debian/rules

On Sun, Sep 24, 2000 at 05:27:49PM +0300, Antti-Juhani Kaijanaho wrote:
> There is a problem with the current build-time dependency system.
> The build-time dependency system separates between dependencies needed to
> build architecture dependent and architecture independent packages via the
> Build-Depends and Build-Depends-Indep fields in debian/control.  However,
> since all compilation of the package must happen in the build target of
> debian/rules (Packaging Manual section 3.2.1), and since Build-Depends
> applies to the build target (Packaging Manual section 8.7), it means that
> very rarely can Build-Depends-Indep used, and also that build daemons
> building only architecture-dependent parts of the package need often
> install also everything needed to build the architecture-independent
> parts.  This is not good.
> Therefore, I propose two new optional targets in debian/rules.  They would
> be named build-arch and build-indep, mirroring the already existing
> binary-arch and binary-indep targets.  When they exist, the build target
> would have to depend on them; if they don't exist, the build target must
> do what they would do.
> [...]

This is obviously a necessary corollary of the
Build-Depends/Build-Depends-Indep split, and makes perfect sense.

So even though this languished for a month, I would like to reopen
this proposal and second it.  As stated, it will not cause any
existing tools to break as the build: target must still remain, but it
may help future autobuilders to do less work.



  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/

Reply to: