[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -DVERSION for emacsclient

From: Juanma Barranquero
Subject: Re: -DVERSION for emacsclient
Date: Fri, 24 Nov 2006 20:28:35 +0100

On 11/24/06, Eli Zaretskii <address@hidden> wrote:

There's one other option: write a short C program that will run during
the build and extract the version string from version.el, and supply
that program as part of the Emacs distribution (in the nt/

On balance, I think this is the best alternative.

That's trivial to do, but I don't understand why you don't favor just
hardcoding the version into nt/configure.bat or
lib-src/Makefile.w32-in and modifying admin/admin.el to update it...

That's what we currently do with nt/emacs.rc, man/emacs.texi,
lispref/elisp.texi and other files. And the rationale is the same:
for each given release it is a constant, it won't change during
compilation. There's no much point in building a program just to set
that constant.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]