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

Re: build, build-arch and build-indep targets in debian/rules



Wouter Verhelst <wouter@grep.be> writes:

> On Tue, Aug 10, 2004 at 12:44:57AM +0200, Goswin von Brederlow wrote:
>> Wouter Verhelst <wouter@grep.be> writes:
>> > On Mon, Aug 09, 2004 at 12:27:11PM +0200, Goswin von Brederlow wrote:
>> Also, on the topic of detecting build-arch support, shouldn't every
>> debian/rules file that has no build-arch target eventually fail with
>> the same error message from make: 'make: *** No rule to make target
>> `build-arch'.  Stop.'?
>> 
>> Why can't dpkg-buildpackage just call build-arch and compare the last
>> line of the make output againt that message.
>
> You've obviously never heard of localizations ;-P
>
> wouter@rock:~/tmp$ echo $LANG
> nl_BE.ISO-8859-15@euro
> wouter@rock:~/tmp$ make foo
> make: *** Geen regel voor het maken van doel `foo'.  Stop.

That is oh so evil. Just last week on #debian-devel (i think) we had
the case of a package failing with UTF8 locales. I think it is save to
assume that at least buildds have a clean environment.

On the other hand dpkg-buildpackage can be just as localised as
make. :)

MfG
        Goswin



Reply to: