[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/with-editor d68fe1c 061/140: make: rename and sanitize som
From: |
Jonas Bernoulli |
Subject: |
[nongnu] elpa/with-editor d68fe1c 061/140: make: rename and sanitize some variables |
Date: |
Fri, 6 Aug 2021 12:51:20 -0400 (EDT) |
branch: elpa/with-editor
commit d68fe1c53819efec6fe6a124e64b0eb127a53e62
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
make: rename and sanitize some variables
---
Makefile | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index d0987ab..8e3f151 100644
--- a/Makefile
+++ b/Makefile
@@ -7,11 +7,19 @@ ELCS = $(ELS:.el=.elc)
DEPS = dash
-EMACS ?= emacs
-EFLAGS ?=
-EFLAGS += --eval '(setq with-editor-emacsclient-executable nil)'
-DFLAGS ?= $(addprefix -L ../,$(DEPS))
-OFLAGS ?= -L ../dash -L ../org/lisp -L ../ox-texinfo+
+EMACS ?= emacs
+EMACS_ARGS ?=
+EMACS_ARGS += --eval '(setq with-editor-emacsclient-executable nil)'
+
+LOAD_PATH ?= $(addprefix -L ../,$(DEPS))
+LOAD_PATH += -L .
+
+ifndef ORG_LOAD_PATH
+ORG_LOAD_PATH = -L ../dash
+ORG_LOAD_PATH += -L ../org/lisp
+ORG_LOAD_PATH += -L ../org/contrib/lisp
+ORG_LOAD_PATH += -L ../ox-texinfo+
+endif
INSTALL_INFO ?= $(shell command -v ginstall-info || printf install-info)
MAKEINFO ?= makeinfo
@@ -47,7 +55,7 @@ loaddefs: $(PKG)-autoloads.el
%.elc: %.el
@printf "Compiling $<\n"
- @$(EMACS) -Q --batch $(EFLAGS) -L . $(DFLAGS) -f batch-byte-compile $<
+ @$(EMACS) -Q --batch $(EMACS_ARGS) $(LOAD_PATH) -f batch-byte-compile $<
bump-version:
@sed -i -e "s/\(#+SUBTITLE: for version \)[.0-9]*/\1$(VERSION)/"
$(PKG).org
@@ -59,7 +67,7 @@ pdf: $(PKG).pdf
%.texi: %.org
@printf "Generating $@\n"
- @$(EMACS) -Q --batch $(OFLAGS) \
+ @$(EMACS) -Q --batch $(ORG_LOAD_PATH) \
-l ox-extra.el -l ox-texinfo+.el $< -f org-texinfo-export-to-texinfo
@printf "\n" >> $@
@rm -f $@~
- [nongnu] elpa/with-editor 229e80f 038/140: manual: regenerate using updated Org and Ox-Texinfo+, (continued)
- [nongnu] elpa/with-editor 229e80f 038/140: manual: regenerate using updated Org and Ox-Texinfo+, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 5851e76 043/140: Adapt to bug fixes in ox-texinfo and changes in ox-texinfo+ v2, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 5cddefa 044/140: Use remacsclient when using remacs, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 1343935 045/140: Fix doc-string typos, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 8d73358 046/140: Provide actual url when mentioning old Magit issue numbers, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 890f923 048/140: Drop dependency on dash, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 2417261 051/140: Guard against nonexistent default directory, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor ae23243 053/140: Cosmetics and typo fixes, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 1b7f6ef 055/140: Require pcase, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor fb9e560 057/140: .travis.yml: fail on byte compilation warnings, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor d68fe1c 061/140: make: rename and sanitize some variables,
Jonas Bernoulli <=
- [nongnu] elpa/with-editor 8d3d639 063/140: make: use ox-texinfo+-update-version-strings, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 05338d8 069/140: make: inject style switcher into generated html manual, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 04d59d6 070/140: Release version 2.7.1, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor a77813b 074/140: Update .gitignore, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor ab73c02 027/140: manual: adjust for ox-texinfo+ v1, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 8fa5cef 028/140: Remove spurious paranthesis from Makefile recipe, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 8c95e7d 036/140: Use when-let instead of macros from dash, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 1d34c65 047/140: Use user-error when appropriate, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor 4d3d50b 049/140: with-editor--setup: create from code previously in with-editor, Jonas Bernoulli, 2021/08/06
- [nongnu] elpa/with-editor b591c28 050/140: with-editor-locate-emacsclient: don't assume version string length, Jonas Bernoulli, 2021/08/06