# HG changeset patch # User Thien-Thi Nguyen # Date 1084027283 0 # Node ID 8ff66a576ed5febccd1c48f8524ac1cc98dfd0d2 # Parent 6e677a935fe99195ca63252313868bd74fd69582 (emacsclient${EXEEXT}): Use makefile var `version'. diff -r 6e677a935fe9 -r 8ff66a576ed5 lib-src/Makefile.in --- 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