From: Mikael Magnusson <mikachu@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@zsh.org
Subject: Re: Weird yodl thing in files.yo
Date: Thu, 21 Jan 2010 17:09:11 +0100 [thread overview]
Message-ID: <237967ef1001210809v5047c290y1a6987e1cdfcffde@mail.gmail.com> (raw)
In-Reply-To: <100121080054.ZM21418@torch.brasslantern.com>
2010/1/21 Bart Schaefer <schaefer@brasslantern.com>:
> The yodl source is this:
>
> Commands are first read from tt(zshenv()); this cannot be overridden.
>
> What I get in my compiled documentation is this:
>
> Commands are first read from no; this cannot be overridden.
>
> Er, what?
>
> Doc/version.yo:def(zshenv)(0)(no)
>
> This must be because I configure my devel build with global RC files
> disabled?
configure.ac does this:
ifdef([zshenv],[undefine([zshenv])])dnl
AC_ARG_ENABLE(zshenv,
AC_HELP_STRING([--enable-zshenv=FILE], [the full pathname of the
global zshenv script]),
[zshenv="$enableval"],
[if test "x$etcdir" = xno; then
zshenv=no
else
zshenv="$etcdir/zshenv"
fi])
AH_TEMPLATE([GLOBAL_ZSHENV],
[The global file to source absolutely first whenever zsh is run;
if undefined, don't source anything.])
if test "x$zshenv" != xno; then
AC_DEFINE_UNQUOTED(GLOBAL_ZSHENV, "$zshenv")
fi
and later:
AC_SUBST(zshenv)dnl
and same for zshrc, zprofile, zlogin, zlogout.
doc/Makefile.in then does this:
version.yo: $(sdir_top)/Config/version.mk
( \
...
echo 'def(zshenv)(0)(@zshenv@)'; \
echo 'def(zprofile)(0)(@zprofile@)'; \
...
) > $(sdir)/version.yo
--
Mikael Magnusson
next prev parent reply other threads:[~2010-01-21 17:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-21 16:00 Bart Schaefer
2010-01-21 16:09 ` Mikael Magnusson [this message]
2010-01-21 17:01 ` Andrey Borzenkov
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=237967ef1001210809v5047c290y1a6987e1cdfcffde@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/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).