comparison admin/quick-install-emacs @ 108602:ed8614d73caa

Update scripts and text to refer to version number string in emacs.c instead of version.el.
author Ken Raeburn <raeburn@raeburn.org>
date Sat, 15 May 2010 17:12:44 -0400
parents cdbf4c64ae3c
children dedcf813aa69
comparison
equal deleted inserted replaced
108601:786c4a4a3817 108602:ed8614d73caa
169 169
170 test x"$SRC" = x && { SRC="`get_config_var srcdir`" || exit 4 ; } 170 test x"$SRC" = x && { SRC="`get_config_var srcdir`" || exit 4 ; }
171 test x"$prefix" = x && { prefix="`get_config_var prefix`" || exit 4 ; } 171 test x"$prefix" = x && { prefix="`get_config_var prefix`" || exit 4 ; }
172 test x"$ARCH" = x && { ARCH="`get_config_var host`" || exit 4 ; } 172 test x"$ARCH" = x && { ARCH="`get_config_var host`" || exit 4 ; }
173 173
174 VERSION=`grep 'defconst[ ]*emacs-version' $SRC/lisp/version.el \ 174 VERSION=`grep 'char emacs_version' $SRC/src/emacs.c \
175 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 175 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
176 176
177 DST_SHARE="$prefix/share/emacs/$VERSION" 177 DST_SHARE="$prefix/share/emacs/$VERSION"
178 DST_BIN="$prefix/bin" 178 DST_BIN="$prefix/bin"
179 DST_LIBEXEC="$prefix/libexec/emacs/$VERSION/$ARCH" 179 DST_LIBEXEC="$prefix/libexec/emacs/$VERSION/$ARCH"