Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: duplicate targets in Makefile rule
- X-seq: zsh-workers 9662
- From: Zefram <zefram@xxxxxxxx>
- To: Adam Spiers <adam@xxxxxxxxxx>
- Subject: Re: duplicate targets in Makefile rule
- Date: Thu, 10 Feb 2000 14:31:09 +0000 (GMT)
- Cc: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- In-reply-to: <20000210142311.A14018@xxxxxxxxxxxxxxxxxxxxxxx> from Adam Spiers at "Feb 10, 2000 02:23:11 pm"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Adam Spiers wrote:
>-zsh.texi $(sdir)/zsh.texi:
>+ifeq ($(sdir),.)
>+ ZSHTEXIS=zsh.texi
>+else
>+ ZSHTEXIS=zsh.texi $(sdir)/zsh.texi
>+endif
>+
>+$(ZSHTEXIS):
This only works for certain makes. pmake, for example, doesn't have this
conditional syntax. I repeat the suggestion that we use a non-filename
(e.g. "texi") instead of "zsh.texi" for the pseudo-target.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author