Re: build, build-arch and build-indep targets in debian/rules
Andreas Rottmann <a.rottmann@gmx.at> writes:
> Andreas Metzler <ametzler@downhill.at.eu.org> writes:
>
>> On 2004-08-09 Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de> wrote:
>>> Hi,
>>
>>> in short (full rephrase below) I propose the following change to
>>> debian-policy:
>>
>>> option 1: Make build-arch and build-indep targets mandatory in
>>> debian/rules
>>
>>> or
>>
>>> option 2: Add an optional "Build-Targets" line to debian/control.
>> [...]
>>> Comments, ideas, opionion?
>>
>> Are you familiar with #218893, which is basically identical to your
>> Option 2? The most important thing included there is that dpkg
>> maintainance (I had asked Scott James Remnant[1] on IRC) would rather
>> see autodetection of availabilty of optional targets with
>> make -f debian/rules -pn | grep '^build-arch:'
>> cu andreas
>>
> That won't work with systems like CDBS.
As in it will wrongfully detect build-arch and misbuild/fail or it
will miss a possible build-arch and keep calling build?
> Andy
MfG
Goswin
Reply to: