We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7270be9 + 6294520 commit 99d94faCopy full SHA for 99d94fa
Makefile
@@ -15,7 +15,18 @@
15
VERSION = 13.12
16
17
INSTALL_INFO = install-info
18
-EMACS = emacs
+
19
+# Use $EMACS environment variable if present, so that all of these are
20
+# equivalent:
21
+#
22
+# 1. export EMACS=/path/to/emacs && make
23
+# 2. EMACS=/path/to/emacs make
24
+# 3. make EMACS=/path/to/emacs
25
26
+# This is particularly useful when EMACS is set in ~/.bash_profile
27
28
+EMACS := $(shell echo "$${EMACS:-emacs}")
29
30
EFLAGS = --eval "(add-to-list 'load-path (expand-file-name \"tests/compat\") 'append)" \
31
--eval "(when (< emacs-major-version 24) \
32
(setq byte-compile-warnings '(not cl-functions)))" \
0 commit comments