From 900c15ca0bde99c47c7636c8d624dad5822dd0cf Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Mon, 16 Aug 2021 16:49:47 +0000 Subject: [PATCH] use ${EMACS} instead of `emacs' This makes possible to use a different emacs executable to run the tests. $ make # use system' emacs ... $ make EMACS=/path/to/emacs # use the provided emacs executable ... Signed-off-by: Justin Abrahms --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 29418fd..e9cf197 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,16 @@ +EMACS = emacs + update: - emacs -batch -l test/make-update.el + ${EMACS} -batch -l test/make-update.el compile: clean lint - emacs --version - emacs -batch -l test/elpa.el -l test/compile.el + ${EMACS} --version + ${EMACS} -batch -l test/elpa.el -l test/compile.el clean: rm -f *.elc lint: - emacs --batch -l test/lint.el + ${EMACS} --batch -l test/lint.el .PHONY: update compile test clean