aboutsummaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2022-03-29 14:03:50 +0200
committerJonas Bernoulli <jonas@bernoul.li>2022-03-29 14:03:50 +0200
commit0154391fa24538347d76bd64d3879fb68237f851 (patch)
tree651c0fc0c7b8acfa7d26794b7adcadcdd9e1ca03 /docs/Makefile
parent6f5f72bc9887af326e8dbdca67c00fd5713fe797 (diff)
make: Rename EMACSBIN variable to EMACS
I've been doing that for a long time for many of my other packages and nobody reported an issue, but if someone is trying to build magit by running make in a terminal running inside emacs and that uses bash 4.3 or older, then that would fail now. On the other hand more people likely try "EMACS=emacs-26.1 make" and then wonder why that doesn't work. (The new variable for indicating to a shell that it is running inside emacs is INSIDE_EMACS.)
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 3eb3dd8..084158e 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -91,10 +91,10 @@ ORG_EVAL += --eval "(setq org-src-preserve-indentation nil)"
ORG_EVAL += --funcall org-texinfo-export-to-texinfo
texi:
- @$(EMACSBIN) $(ORG_ARGS) $(PKG).org $(ORG_EVAL)
+ @$(EMACS) $(ORG_ARGS) $(PKG).org $(ORG_EVAL)
@printf "\n" >> $(PKG).texi
@rm -f $(PKG).texi~
- @$(EMACSBIN) $(ORG_ARGS) magit-section.org $(ORG_EVAL)
+ @$(EMACS) $(ORG_ARGS) magit-section.org $(ORG_EVAL)
@printf "\n" >> magit-section.texi
@rm -f magit-section.texi~