aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2015-04-12 02:42:48 +0200
committerJonas Bernoulli <jonas@bernoul.li>2015-04-12 02:42:48 +0200
commitefa6bd9ba4240784c7a3df6b9af1dbb83f55d6b6 (patch)
tree807b93a6ffd007da9c7d8280ef3c456c2c601283 /Makefile
parent9724ed6b84922bf8aaffa876f63f4994bb30554d (diff)
Makefile: remove BATCHE variable
Instead just use `$(BATCH) --eval', which is much more descriptive.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d228444..eb3e786 100644
--- a/Makefile
+++ b/Makefile
@@ -23,11 +23,10 @@ INSTALL_INFO ?= install-info
EFLAGS ?= -L ../git-modes -L ../cl-lib
EMACSBIN ?= emacs
BATCH = $(EMACSBIN) $(EFLAGS) -batch -Q -L .
-BATCHE = $(BATCH) -eval
VERSION=$(shell \
test -e .git && git describe --tags --dirty 2> /dev/null || \
- $(BATCHE) "(progn\
+ $(BATCH) --eval "(progn\
(require 'cl)\
(flet ((message (&rest _) _))\
(load-file \"magit-version.el\"))\
@@ -110,7 +109,7 @@ magit-pkg.el:
loaddefs: $(LOADDEFS_FILE)
$(LOADDEFS_FILE): $(ELS)
- @$(BATCHE) "(progn\
+ @$(BATCH) --eval "(progn\
(setq vc-handled-backends nil)\
(setq magit-last-seen-setup-instructions \"9999\")\
(defvar generated-autoload-file nil)\
@@ -196,7 +195,7 @@ install-docs: docs
.PHONY: test
test: $(ELCS)
- @$(BATCHE) "(progn\
+ @$(BATCH) --eval "(progn\
(require 'cl) \
(setq magit-last-seen-setup-instructions \"9999\")\
(put 'flet 'byte-obsolete-info nil))" \