X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/0cd3b798913ef39dd1d69b5f29b276507cd02cb8..2a0e079f0d236311f030e3fab721a171975d5ca2:/Makefile diff --git a/Makefile b/Makefile index af5dc13..4df8c56 100644 --- a/Makefile +++ b/Makefile @@ -69,7 +69,8 @@ ifneq ($(EMACS),nil) EMACSLIB = $(HOME)/lib/emacs EMACS_VERSION := $(shell $(EMACS) 2>&1 -Q --batch --eval \ - '(message "%s %s" emacs-major-version emacs-minor-version)') + '(message "%s %s" emacs-major-version emacs-minor-version)' | \ + tail -n1) emacs-version-p = $(shell set -- $(EMACS_VERSION); \ if [ $$1 -gt $1 ] || ([ $$1 -eq $1 ] && [ $$2 -ge $2 ]); then \ echo t; \