zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: Test of whether to rebuild zshpaths.h in zsh.mdd
Date: Fri, 31 Mar 2000 04:48:33 +0000	[thread overview]
Message-ID: <1000331044833.ZM10292@candle.brasslantern.com> (raw)

There's code in zsh.mdd that constructs zshpaths.h.tmp and then compares
it to zshpaths.h, to avoid rebuilding zshpaths.h if the configuration
appears not to have changed.

I don't think that extra test is necessary any longer.  Other dependencies
are now handled better, so the number of cases where zshpaths.h will be
"unnecessarily" rebuilt are much fewer, and only init.c gets recompiled
(and zsh relinked) when zshpaths.h changes.

I bring this up because there are some cases where zshpaths.h does not get
rebuilt when I would prefer that it did.  I mentioned a while ago that the
"configure --prefix=something ; make ; make prefix=otherthing install"
sequence seemed to have stopped working:  I discovered that it works after
a "make clean" because that removes zshpaths.h, whereas a plain "make" may
leave zshpaths.h unchanged even if its dependencies have changed -- only
to later (unwantedly) rebuild it at install time, with the new $prefix.

Would anyone object to removing the "if cmp -s zshpaths.h zshpaths.h.tmp"
test from zsh.mdd?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


                 reply	other threads:[~2000-03-31  4:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1000331044833.ZM10292@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --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).