]> git.eshelyaron.com Git - emacs.git/commitdiff
(emacsclient${EXEEXT}): Use makefile var `version'.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Sat, 8 May 2004 14:42:41 +0000 (14:42 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Sat, 8 May 2004 14:42:41 +0000 (14:42 +0000)
lib-src/ChangeLog
lib-src/Makefile.in

index 75d5f9642015aa9494ccffdc9872c00290834a0f..28a1fb8fcc0b80812955db72e00396a1eed21034 100644 (file)
@@ -1,3 +1,7 @@
+2004-05-08  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
+
 2004-05-07  Thien-Thi Nguyen  <ttn@gnu.org>
 
        * b2m.c (GOOD, BAD): Delete macros.  Throughout,
index 7868364148af4689207be5512a8fefbc3ad8288e..1da04d88b825e3034991898dccffb2041cc3e28b 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for lib-src subdirectory in GNU Emacs.
-# Copyright (C) 1985, 1987, 1988, 1993, 1994, 2002, 2003
+# Copyright (C) 1985, 1987, 1988, 1993, 1994, 2002, 2003, 2004
 #  Free Software Foundation, Inc.
 
 # This file is part of GNU Emacs.
@@ -447,7 +447,7 @@ yow${EXEEXT}: ${srcdir}/yow.c ../src/epaths.h
 
 emacsclient${EXEEXT}: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS)
        $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(GETOPTOBJS)  \
-          -DVERSION=`sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' ${srcdir}/../lisp/version.el` \
+          -DVERSION="\"${version}\"" \
           $(LOADLIBES) -o emacsclient
 
 hexl${EXEEXT}: ${srcdir}/hexl.c ../src/config.h