summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-11-30 19:44:51 +0100
committerJonas Bernoulli <jonas@bernoul.li>2025-11-30 19:44:51 +0100
commitb68e405dd87c12160db20d5fa9527bbdc627a58e (patch)
treeada32914318770bee8064afaed6637f21e24bee7 /docs
parent72e80f1236237f346d9692ab8e793798b8c038c5 (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 add `EMACS_BATCH' and `EMACS_ORG', and rework use of related variables.
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 6adbfb7..458172c 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -11,7 +11,6 @@ html: $(PKG).html
html-dir: $(PKG)/index.html
pdf: $(PKG).pdf
-ORG_ARGS = --batch -Q $(ORG_LOAD_PATH)
ORG_EVAL += --eval "(setq indent-tabs-mode nil)"
ORG_EVAL += --eval "(setq org-src-preserve-indentation nil)"
ORG_EVAL += --eval "\
@@ -29,7 +28,7 @@ _ := $(shell test "$(REVDESC)" = "$$(cat .revdesc 2> /dev/null)" ||\
%.texi: %.org .orgconfig .revdesc
@printf "Generating $@\n"
- @$(EMACS) $(ORG_ARGS) $< $(ORG_EVAL)
+ @$(EMACS_ORG) $< $(ORG_EVAL)
%.info: %.texi
@printf "Generating $@\n"