Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Makefile target given more than once (Re: 3.1.6-dev-17)
- X-seq: zsh-workers 9593
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>, "Zsh hackers list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: Makefile target given more than once (Re: 3.1.6-dev-17)
- Date: Mon, 7 Feb 2000 10:34:38 +0300
- Importance: Normal
- In-reply-to: <1000206191509.ZM11249@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
> }
> } gmake[1]: Entering directory `/tools/src/zsh-3.1.6-dev-17/Doc'
> } Makefile:217: target `zsh.texi' given more than once in the same rule.
>
> Hrm. This would appear to be gmake cleverly discovering that when $(sdir)
> is ".", zsh.texi and $(sdir)/zsh.texi are the same target.
>
> Does that actually cause the build to fail, or is it just noise?
>
So far it is just noise. But why we need two targets? One is obviously
redundant.
> Can we count on other "make" implementations being that clever? I didn't
> think so, but ...
>
I stopped trying native make long ago. I'm even not sure, that it is
possible at all with current makefiles.
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author