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

Re: flow of things rules/debhelper



On Mon, Apr 05, 2010 at 06:17:49PM +0200, Mike Hommey wrote:
> > Aside from the issues discussed with Mike ...
> > 
> > reality is once "debian/rules binary" is run, there is no need to run
> > "debian/rules binary-indep" nor "debian/rules binary-arch".  All the
> > piecees of actions have been done.
> > 
> > Normal package build process only calls binary as I understand.
> 
> On buildds binary-arch is called if it exists. Otherwise, binary is
> used.

That exactly what I recalled in my dream just after I went to bed :-)

Unless we do wacky undocumented tric, I find it difficult to make
debian/rules created by dh script to skip binary-indep actions and just
do binary-arch actions for buildd.

Conditional with DH_INTERNAL_OPTIONS may be a way... but is this
variable get only -a or -i?  Besides, this is not documented.

Usually, skipping binary-indep actions provides a very small gain so not
so important.  But If we have a source with its documentation in latex
and if we want to keep tex-live out of Build-Deps:, this is something we
may want.

Is there a package which use dh and which is properly packaged not to
build indep portion?  I would like to know the trick people use.

Osamu


Reply to: