Gunnar Ritter <[EMAIL PROTECTED]> wrote:

> Joerg Schilling <[EMAIL PROTECTED]> wrote:
>
> > Any makefile that uses $< in an explicit rule is dubtlessly broken if it
> > claims to be portable and authors of free software usually claim to
> > write portable software.
>
> _If_ they claim that. Otherwise they rely on documented behavior of
> GNU make. This is quite different from "the authors implement code
> that matches GNU make bugs", as you were writing previously.

The GNU make documentation claims that $< is the name of the first dependency.

This is not complatible with the POSIX standard which defines $< to be the
name of the implicit source that caused an iplicit rule inference rule)
to be chosen.

Now, if GNU tar would be at least compliant to it's own documentation.....

test:   x1
test:   x2
        echo $< 

prints x2 and not x1.


Please try to prove your claims again......


Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]        (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to