Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
ZSH_EXTRAVERSION [was Re: Segfault with newer .zwc]
- X-seq: zsh-workers 24408
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: ZSH_EXTRAVERSION [was Re: Segfault with newer .zwc]
- Date: Fri, 18 Jan 2008 12:02:23 -0500
- In-reply-to: <200801150910.m0F9AP0f026468@xxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <slrnfo4ov7.cgh.joerg@xxxxxxxxxxxx> <20080108095306.5475d009@news01> <20080109191236.GB32394@xxxxxxxxxxx> <200801100950.m0A9oN9T015070@xxxxxxxxxxxxxx> <20080115020642.GA5306@xxxxxxxxxxx> <200801150910.m0F9AP0f026468@xxxxxxxxxxxxxx>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author