add hack to compile Emacs

This commit is contained in:
Gwenhael Le Moine 2021-07-21 12:00:57 +02:00
parent 0ed5bbc296
commit 7b75076f64
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -89,7 +89,9 @@ git checkout $BRANCH
git pull --all git pull --all
[ "x$VERSION" == "xtrunk" ] || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] || git checkout $VERSION
[ -e Makefile ] && make distclean [ -e Makefile ] && make distclean
./autogen.sh ./autogen.sh
rm lisp/loaddefs.el # https://lists.gnu.org/r/emacs-devel/2021-04/msg01430.html
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)"