aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-11-30 19:43:17 +0100
committerJonas Bernoulli <jonas@bernoul.li>2025-11-30 19:43:17 +0100
commitb572104164929b592cd980fad5afa9d216321ec1 (patch)
treea2c02045b355557e76894b873cbab7846b680ba6 /lisp
parent4b90a7b890e0bcda16dcf34e1be9a2f5854c919f (diff)
make: Add new EMACS_Q_ARG variable
It defaults to "-Q" but users can instead use "-q", which is useful if "site-start.el" contains essential settings. Also rename `BATCH' to `EMACS_BATCH', add `EMACS_ORG' and `EMACS_INTR', and rework use of related variables.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/Makefile b/lisp/Makefile
index f3ca6f4..a83a1a9 100644
--- a/lisp/Makefile
+++ b/lisp/Makefile
@@ -68,7 +68,7 @@ versionlib: $(PKG)-version.el
%.elc: %.el
@printf "Compiling $<\n"
- @$(BATCH) --eval "(progn\
+ @$(EMACS_BATCH) --eval "(progn\
(when (file-exists-p \"$@\")\
(delete-file \"$@\"))\
(setq with-editor-emacsclient-executable nil)\
@@ -78,7 +78,7 @@ versionlib: $(PKG)-version.el
$(PKG)-autoloads.el: $(ELS)
@printf " Creating $@\n"
- @$(EMACS) -Q --batch -l autoload --eval "\
+ @$(EMACS_BATCH) --load autoload --eval "\
(let* ((file (expand-file-name \"$@\"))\
(generated-autoload-file file)\
(coding-system-for-write 'utf-8-emacs-unix)\
@@ -95,7 +95,7 @@ $(PKG)-version.el:
check-declare:
@printf "Checking function declarations\n"
- @$(BATCH) -L $(TOP)../borg -L $(TOP)../forge/lisp \
+ @$(EMACS_BATCH) -L $(TOP)../borg -L $(TOP)../forge/lisp \
--eval "(check-declare-directory default-directory)"
## Install ###########################################################