From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: -DVERSION for emacsclient Date: Fri, 24 Nov 2006 20:21:56 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1164416171 824 80.91.229.2 (25 Nov 2006 00:56:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Nov 2006 00:56:11 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 25 01:56:10 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gnlpv-0004BM-Rt for ged-emacs-devel@m.gmane.org; Sat, 25 Nov 2006 01:56:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gnlpv-0006Os-6p for ged-emacs-devel@m.gmane.org; Fri, 24 Nov 2006 19:56:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GnlnZ-00051r-Cc for emacs-devel@gnu.org; Fri, 24 Nov 2006 19:53:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GnlnT-0004xj-6w for emacs-devel@gnu.org; Fri, 24 Nov 2006 19:53:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GnlnT-0004xd-1y for emacs-devel@gnu.org; Fri, 24 Nov 2006 19:53:35 -0500 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GnlnS-0007Z9-MC for emacs-devel@gnu.org; Fri, 24 Nov 2006 19:53:34 -0500 Original-Received: from [192.114.186.81] (helo=cemetery.inter.net.il) by mx20.gnu.org with esmtp (Exim 4.52) id 1GnfjX-0000fU-BO for emacs-devel@gnu.org; Fri, 24 Nov 2006 13:25:07 -0500 Original-Received: from heller.inter.net.il (heller.inter.net.il [192.114.186.73]) by cemetery.inter.net.il (Postfix) with ESMTP id 74365145783 for ; Fri, 24 Nov 2006 20:25:03 +0200 (IST) Original-Received: from HOME-C4E4A596F7 (IGLD-84-229-205-125.inter.net.il [84.229.205.125]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id BBX01084 (AUTH halo1); Fri, 24 Nov 2006 20:21:55 +0200 (IST) Original-To: lekktu@gmail.com, emacs-devel@gnu.org In-reply-to: (message from Eli Zaretskii on Thu, 23 Nov 2006 06:27:44 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62755 Archived-At: > Date: Thu, 23 Nov 2006 06:27:44 +0200 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org > > 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. 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/ subdirectory). On balance, I think this is the best alternative.