zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <zefram@fysh.org>
To: Adam Spiers <adam@spiers.net>
Cc: zsh workers mailing list <zsh-workers@sunsite.auc.dk>
Subject: Re: PATCH: Re: duplicate targets in Makefile rule
Date: Thu, 10 Feb 2000 17:11:21 +0000 (GMT)	[thread overview]
Message-ID: <E12Ix7h-000322-00@crucigera.fysh.org> (raw)
In-Reply-To: <20000210170351.A19964@thelonious.new.ox.ac.uk> from Adam Spiers at "Feb 10, 2000 05:03:51 pm"

Adam Spiers wrote:
> zsh.dvi: $(sdir)/zsh.texi
>-	$(TEXI2DVI) $(sdir)/zsh.texi
>+	$(TEXI2DVI) $<

Not portable: $< does not portably exist (and is not at all meaningful) in
an explicit rule.  The original code here is the only safe way to do it.

The only magic make variables that can be portably relied on are $@
(the target, available in all rules) and $< (the source, in implicit
rules only).

-zefram


  reply	other threads:[~2000-02-10 17:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-09 23:58 Adam Spiers
2000-02-10  9:57 ` Zefram
2000-02-10 13:37   ` Adam Spiers
2000-02-10 13:54     ` Andrej Borsenkow
2000-02-10 14:23       ` Adam Spiers
2000-02-10 14:31         ` Zefram
2000-02-10 15:36           ` PATCH: " Adam Spiers
2000-02-10 15:43             ` Zefram
2000-02-10 17:03               ` Adam Spiers
2000-02-10 17:11                 ` Zefram [this message]
2000-02-21  2:12                   ` Adam Spiers
2000-02-21 10:07                     ` Zefram
2000-02-21 10:39                       ` Adam Spiers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E12Ix7h-000322-00@crucigera.fysh.org \
    --to=zefram@fysh.org \
    --cc=adam@spiers.net \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).