Short options are meant to reduce typing at the CLI, but we're
invoking Emacs from a script, so there's no reason not to improve
readability by using long options.  And we're talking about
Emacs, so the long vs. short options portability argument is not
applicable.

Signed-off-by: Pieter Praet <[email protected]>
---
 Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index b50db6a..b053620 100644
--- a/Makefile
+++ b/Makefile
@@ -31,8 +31,8 @@ INSTALL_INFO ?= install-info
 
 EMACS ?= emacs
 EFLAGS ?=
-BATCH  = $(EMACS) $(EFLAGS) -batch -Q -L .
-BATCHC = $(BATCH) -f batch-byte-compile
+BATCH  = $(EMACS) $(EFLAGS) --batch --quick --directory="."
+BATCHC = $(BATCH) --funcall="batch-byte-compile"
 
 VERSION=$(shell \
   test -e .git && git describe --tags --dirty 2> /dev/null || \
@@ -108,7 +108,7 @@ magit-version.el:
 loaddefs: $(LOADDEFS_FILE)
 
 $(LOADDEFS_FILE): $(ELS)
-       @$(BATCH) -eval "\
+       @$(BATCH) --eval "\
 (progn (defvar generated-autoload-file nil)\
   (let ((generated-autoload-file \"$(CURDIR)/$(LOADDEFS_FILE)\")\
         (make-backup-files nil))\
@@ -164,9 +164,9 @@ install-script: bin/magit
 
 .PHONY: test
 test: $(ELCS)
-       @$(BATCH) -eval "(progn (require 'cl) \
+       @$(BATCH) --eval "(progn (require 'cl) \
        (put 'flet 'byte-obsolete-info nil))" \
-       -l tests/magit-tests.el -f ert-run-tests-batch-and-exit
+       --load="tests/magit-tests.el" --funcall="ert-run-tests-batch-and-exit"
 
 .PHONY: clean
 clean:
-- 
1.7.11.1

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"magit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to