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 <justin@abrah.ms>
This commit is contained in:
parent
d680aacf9d
commit
900c15ca0b
10
Makefile
10
Makefile
@ -1,14 +1,16 @@
|
|||||||
|
EMACS = emacs
|
||||||
|
|
||||||
update:
|
update:
|
||||||
emacs -batch -l test/make-update.el
|
${EMACS} -batch -l test/make-update.el
|
||||||
|
|
||||||
compile: clean lint
|
compile: clean lint
|
||||||
emacs --version
|
${EMACS} --version
|
||||||
emacs -batch -l test/elpa.el -l test/compile.el
|
${EMACS} -batch -l test/elpa.el -l test/compile.el
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.elc
|
rm -f *.elc
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
emacs --batch -l test/lint.el
|
${EMACS} --batch -l test/lint.el
|
||||||
|
|
||||||
.PHONY: update compile test clean
|
.PHONY: update compile test clean
|
||||||
|
Loading…
Reference in New Issue
Block a user