From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: ZSH_EXTRAVERSION [was Re: Segfault with newer .zwc]
Date: Fri, 18 Jan 2008 12:02:23 -0500 [thread overview]
Message-ID: <20080118170223.GA32039@scowler.net> (raw)
In-Reply-To: <200801150910.m0F9AP0f026468@news01.csr.com>
On Tue, Jan 15, 2008 at 09:10:25AM +0000, Peter Stephenson wrote:
> That seems OK; it probably ought to be mentioned in
> Etc/zsh-development-guide.
I don't particularly like the way this sounds, but..
Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.87
diff -u -r1.87 configure.ac
--- configure.ac 14 Dec 2007 15:14:05 -0000 1.87
+++ configure.ac 18 Jan 2008 16:59:11 -0000
@@ -31,6 +31,7 @@
dnl What version of zsh are we building ?
. ${srcdir}/Config/version.mk
+VERSION="$VERSION$ZSH_EXTRAVERSION"
echo "configuring for zsh $VERSION"
dnl ----------------------------------------------
Index: Etc/zsh-development-guide
===================================================================
RCS file: /cvsroot/zsh/zsh/Etc/zsh-development-guide,v
retrieving revision 1.15
diff -u -r1.15 zsh-development-guide
--- Etc/zsh-development-guide 3 Dec 2007 19:04:09 -0000 1.15
+++ Etc/zsh-development-guide 18 Jan 2008 16:59:12 -0000
@@ -856,3 +856,13 @@
distribution, but that need to be present in the CVS tree. This
variable is not used by the zsh build process and is present for
the convenience of external checks.
+
+Version Suffixes
+----------------
+The configure script reads the version number from Config/version.mk.
+If the environment variable ZSH_EXTRAVERSION is set, the string
+contained therein will be appended to the version string. For example,
+if Config/version.mk contains "VERSION=4.3.4-dev-7" and
+ZSH_EXTRAVERSION is set to "-ca", $ZSH_VERSION in the shell built from
+that run will equal "4.3.4-dev-7-ca". Caution is recommended when
+using this feature, as is-at-least may misunderstand your conventions.
next prev parent reply other threads:[~2008-01-18 17:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-07 17:39 Segfault with newer .zwc Jörg Sommer
2008-01-08 9:53 ` Peter Stephenson
2008-01-09 19:12 ` Clint Adams
2008-01-10 9:50 ` Peter Stephenson
2008-01-15 2:06 ` Clint Adams
2008-01-15 9:10 ` Peter Stephenson
2008-01-18 17:02 ` Clint Adams [this message]
2008-01-21 1:48 ` ZSH_EXTRAVERSION [was Re: Segfault with newer .zwc] Geoff Wing
2008-01-22 1:35 ` Clint Adams
2008-02-01 2:54 ` ZSH_VERSIONSUFFIX [was Re: ZSH_EXTRAVERSION [was Re: Segfault with newer .zwc]] Clint Adams
2008-02-01 11:22 ` Peter Stephenson
2008-02-01 11:28 ` Peter Stephenson
2008-02-02 3:13 ` Clint Adams
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=20080118170223.GA32039@scowler.net \
--to=clint@zsh.org \
--cc=zsh-workers@sunsite.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).