Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: duplicate targets in Makefile rule



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