diff options
Diffstat (limited to 'default.mk')
| -rw-r--r-- | default.mk | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -46,6 +46,11 @@ ELCS = $(ELS:.el=.elc) ELMS = magit.el $(filter-out $(addsuffix .el,$(PACKAGES)),$(ELS)) ELGS = magit-autoloads.el magit-version.el +# minimal requirements +EMACS_VERSION = 24.4 +ASYNC_VERSION = 1.4 +DASH_VERSION = 2.11.0 + EMACSBIN ?= emacs ELPA_DIR ?= $(HOME)/.emacs.d/elpa @@ -68,9 +73,9 @@ endif BATCH = $(EMACSBIN) -batch -Q $(LOAD_PATH) EMACSOLD := $(shell $(BATCH) --eval \ - "(and (version< emacs-version \"24.4\") (princ \"true\"))") + "(and (version< emacs-version \"$(EMACS_VERSION)\") (princ \"true\"))") ifeq "$(EMACSOLD)" "true" - $(error At least version 24.4 of Emacs is required) + $(error At least version $(EMACS_VERSION) of Emacs is required) endif VERSION := $(shell \ |
