[Build-common-hackers] cdbs configure-indep/arch

Peter Eisentraut peter_e at gmx.net
Wed Aug 16 16:53:07 UTC 2006

Matthias Klose wrote:
> A configure file offers an option --without-docs, not building the
> documentation of a package (which crashes on some architectures).
> I can add two build pathes, and in the case when building binary-arch
> and binary-indep, I have to build the package twice. Is there a way
> to determine if I have to pass the --without-docs option to configure
> in the first place?

I don't quite understand what you're after.  The way you've described 
it, the question whether --without-docs should be passed depends on the 
architecture.  Certainly you can do something like

ifneq (,$(findstring $(DEB_HOST_ARCH),m68k arm)

This is a fairly typical procedure.

I'm not convinced, however, that that's what you're asking.

More information about the Build-common-hackers mailing list