From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25289 invoked from network); 10 Feb 2000 14:31:22 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Feb 2000 14:31:22 -0000 Received: (qmail 10183 invoked by alias); 10 Feb 2000 14:31:11 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9662 Received: (qmail 10176 invoked from network); 10 Feb 2000 14:31:11 -0000 Subject: Re: duplicate targets in Makefile rule In-Reply-To: <20000210142311.A14018@thelonious.new.ox.ac.uk> from Adam Spiers at "Feb 10, 2000 02:23:11 pm" To: Adam Spiers Date: Thu, 10 Feb 2000 14:31:09 +0000 (GMT) CC: zsh workers mailing list X-Mailer: ELM [version 2.4ME+ PL66 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: From: Zefram 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