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

Re: debian/rules override_dh_auto_build-indep



Mathieu Malaterre <mathieu.malaterre@gmail.com> writes:

> buildd can make the decision to run build-indep, I am ok with it.
> What I am not ok with, is when buildd are setup to run build-indep
> rules, but do not respect B-D-I !
> That does not make any sense for me.
>
> Anyway I have merged B-D-I into B-D, as suggested. And -2 seems to
> compile just fine -well almost I need to B-D on doxygen-latex-

There's an alternative solution, that lets you keep B-D-I separate, and
doesn't break buildds. But it's ugly, and 'breaks' debian/rules build:

If you disable the build target, and make it do nothing, but make
binary-{arch,indep} depend on the appropriate build-{arch,indep} target,
that will skip build-indep on the buildds.

I've done something like this in the libmongo-client package, because I
didn't want to pull in doxygen as a B-D, especially not since buildds
shouldn't rebuild the docs anyway.

It's not pretty, because build becomes a no-op, but it makes one able to
push a couple of huger build-deps into B-D-I. (It's also not a violation
of the letter of the policy, because policy only says that build should
perform compilation.)

-- 
|8]


Reply to: