Re: build, build-arch and build-indep targets in debian/rules
On Tue, Aug 10, 2004 at 02:38:39AM +0200, Goswin von Brederlow wrote:
> Wouter Verhelst <wouter@grep.be> writes:
> > On Tue, Aug 10, 2004 at 12:44:57AM +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.
I think it's more fair to say that relying on textual comparison of
error messages for correct behaviour is evil.
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: