Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Weird yodl thing in files.yo
- X-seq: zsh-workers 27615
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Weird yodl thing in files.yo
- Date: Thu, 21 Jan 2010 17:09:11 +0100
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Stp5/F2/CU/PIJ4qG2vQ7CxwAwy1p4PJ75Nzf05z904=; b=ecCVIwyVL+oUKef37f06LRu6VA9U0xTVvJLrRWCg2t5JQblO75RBPWOYU0G2xH+50+ ZmO0iy+MCoJ9GOPnUPHjnXf5S5l9ETnUknvZ2+sSV/kK/cWNaq2rltwuiTmif1aHd1b0 sD+7ZZLPzD7ObsTVBpkqB2bc+YA3F7nN+LYCU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lVAwuswWGoZLI7hXEAw9vB2CZPutohUlE2EXlnwEsEmMs8tqYWhupGIZB11Sn4v7dQ vIATvtD6kluOjEAGY1o4fLJA1R7UoF88Dqknm4URDfs04y2Dt9/rNaA1jJRs1WhswB98 0n0c6B6cbdt6XsBwUvPh7+LSJ/3wuTcGqughQ=
- In-reply-to: <100121080054.ZM21418@xxxxxxxxxxxxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <100121080054.ZM21418@xxxxxxxxxxxxxxxxxxxxxx>
2010/1/21 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>:
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author