From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24470 invoked from network); 18 Jan 2008 17:02:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Jan 2008 17:02:37 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 6754 invoked from network); 18 Jan 2008 17:02:32 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Jan 2008 17:02:32 -0000 Received: (qmail 12131 invoked by alias); 18 Jan 2008 17:02:29 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24408 Received: (qmail 12116 invoked from network); 18 Jan 2008 17:02:29 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 18 Jan 2008 17:02:29 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 41BF480307F6 for ; Fri, 18 Jan 2008 18:02:25 +0100 (CET) Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Fri, 18 Jan 2008 18:02:24 +0100 (CET) Received: by acolyte.scowler.net (Postfix, from userid 1000) id 0C2145C06B; Fri, 18 Jan 2008 12:02:22 -0500 (EST) Date: Fri, 18 Jan 2008 12:02:23 -0500 From: Clint Adams To: zsh-workers@sunsite.dk Subject: ZSH_EXTRAVERSION [was Re: Segfault with newer .zwc] Message-ID: <20080118170223.GA32039@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk References: <20080108095306.5475d009@news01> <20080109191236.GB32394@scowler.net> <200801100950.m0A9oN9T015070@news01.csr.com> <20080115020642.GA5306@scowler.net> <200801150910.m0F9AP0f026468@news01.csr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200801150910.m0F9AP0f026468@news01.csr.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV using ClamSMTP 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.