Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ZSH_VERSIONSUFFIX [was Re: ZSH_EXTRAVERSION [was Re: Segfault with newer .zwc]]
- X-seq: zsh-workers 24507
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: ZSH_VERSIONSUFFIX [was Re: ZSH_EXTRAVERSION [was Re: Segfault with newer .zwc]]
- Date: Fri, 01 Feb 2008 11:22:10 +0000
- In-reply-to: <20080201025428.GA17388@xxxxxxxxxxx>
- 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> <20080118170223.GA32039@xxxxxxxxxxx> <20080121014801.GA1242@xxxxxxxxxxxxxxx> <20080122013517.GD16813@xxxxxxxxxxx> <20080201025428.GA17388@xxxxxxxxxxx>
Clint Adams wrote:
> On Mon, Jan 21, 2008 at 08:35:17PM -0500, Clint Adams wrote:
> > +VERSION="$VERSION$ZSH_VERSIONSUFFIX"
>
> So this actually doesn't work for reasons that should be obvious from
> the ugly patch below. The suffix is lost in a ./config.status --recheck;
> I don't know whether to view this as a feature or a bug.
After updating the version in Config/version.mk and running make, I now
have a top level Makefile containing:
VERSION=4.3.5
VERSION_DATE='February 1, 2008'
VERSION = 4.3.4-dev-8
so (i) the dependencies aren't right (ii) the new VERSION doesn't fit
with the version generated from version.mk---the way to import a VERSION
definition into makefiles and scripts is @VERSION_MK@. I suspect you
want to do something like add ${ZSH_VERSIONSUFFIX} in version.mk (note
this needs to work in both shell scripts and Makefiles).
I don't want to wait yet more for 4.3.5, and obviously this isn't a
problem for a production version (though multiple definitions of the
version is), so I'll simply back this off for now.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author