zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Adam Spiers" <adam@spiers.net>,
	"zsh workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: RE: duplicate targets in Makefile rule
Date: Thu, 10 Feb 2000 16:54:11 +0300	[thread overview]
Message-ID: <000501bf73ce$4f1c3890$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <20000210133736.A12687@thelonious.new.ox.ac.uk>

>
> Zefram (zefram@fysh.org) wrote:
> > Adam Spiers wrote:
> > >When is sdir not `.'?
> >
> > When you're compiling in a build tree separate from the source tree.
>
> I see ... so how can we stop make from complaining when sdir is `.' ?
> If we're compiling in a separate build tree then presumably we don't
> need a rule for the source tree version of zsh.texi, so can we just
> get rid of the zsh.texi target and leave the $(dir)/zsh.texi one?  If
> we can, the patch is below.  However noone else seems to have
> encountered a problem with this (and neither did I before Christmas),
> so it's more likely I've done something wrong.  Any ideas what?
>

Sorry? Pls, see 9543, 9687, 9593 and more in this thread.

The current problem is, zsh.texi should be in source dir (as it is supposed
to exists even if user does not have yodl) - so, it belongs to src dir. The
change you proposed make zsh.texi target name dependent on source dir
location. So, it you want to rebuild just the texi, you'll have to know
exact src location and type "make /path/to/source/dir/zsh.texi"

For this reason I suggested having standard targets man, texi, info etc and
make them depend on actual files. Like

texi: $(sdir)/zsh.texi

$(sdir)/zsh.texi: ... (as currently)

Then you can just say "make texi" or "make man". Looks better to me :-)

So far there was no reply.

/andrej


  reply	other threads:[~2000-02-10 13:54 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 [this message]
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
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='000501bf73ce$4f1c3890$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --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).