Mercurial > emacs
changeset 55438:8ff66a576ed5
(emacsclient${EXEEXT}): Use makefile var `version'.
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Sat, 08 May 2004 14:41:23 +0000 |
parents | 6e677a935fe9 |
children | b460399a1458 |
files | lib-src/Makefile.in |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/Makefile.in Sat May 08 14:36:07 2004 +0000 +++ b/lib-src/Makefile.in Sat May 08 14:41:23 2004 +0000 @@ -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 @@ 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