all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: -DVERSION for emacsclient
Date: Thu, 23 Nov 2006 06:27:44 +0200	[thread overview]
Message-ID: <u4psqn5xb.fsf@gnu.org> (raw)
In-Reply-To: <f7ccd24b0611221802r32d42919ua7b82c4607a700a3@mail.gmail.com> (lekktu@gmail.com)

> Date: Thu, 23 Nov 2006 03:02:38 +0100
> From: "Juanma Barranquero" <lekktu@gmail.com>
> 
> Is there any portable way to extract the version number from
> lisp/version.el when executing lib-src/makefile (or when running
> nt/configure.bat)?

You mean more portable than this:

  sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' version.el

?

> The other option is hardcoding the version number in configure.bat or
> lib-src/Makefile.w32-in, as it is hardcoded now on nt/emacs.rc. But
> then admin/admin.el should have to be modified, shouldn't it?

We could require Sed for the Windows build, and then do the above
(just replace single quotes with double quotes and escape-protect the
inner double quotes).  Or we could craft an equivalent command using
native Windows tools.

  reply	other threads:[~2006-11-23  4:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-23  2:02 -DVERSION for emacsclient Juanma Barranquero
2006-11-23  4:27 ` Eli Zaretskii [this message]
2006-11-23  4:46   ` Lennart Borgman
2006-11-24 18:20     ` Eli Zaretskii
2006-11-23  9:17   ` Juanma Barranquero
2006-11-24 17:10   ` Benjamin Riefenstahl
2006-11-24 18:21   ` Eli Zaretskii
2006-11-24 19:28     ` Juanma Barranquero
2006-11-24 21:13       ` Eli Zaretskii
2006-11-24 23:55         ` Juanma Barranquero
2006-11-25 10:32           ` Eli Zaretskii
2006-11-25 13:01             ` Juanma Barranquero
2006-11-25 13:14               ` Eli Zaretskii
2006-11-25 13:25                 ` Juanma Barranquero
2006-11-25 14:01                   ` Eli Zaretskii

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=u4psqn5xb.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.