diff options
author | Vitalie Spinu <spinuvit@gmail.com> | 2017-08-03 19:17:47 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2017-08-05 16:45:50 +0300 |
commit | ee3f3b2997b3af9e0e5fe6a8d25c611defcc8bbc (patch) | |
tree | 6e4b23e5e78511edc643f3c225e9a3b71e6e8ef0 /Makefile | |
parent | b88daf2455a3e4dba3ba48e7101d03af659f2c4a (diff) |
Make elpa target understand emacs versions
... and add elpa dependency to test-checks target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -16,18 +16,21 @@ OBJECTS = $(ELS:.el=.elc) -include .depend -elpa: +elpa-$(EMACS): $(CASK) install $(CASK) update touch $@ +.PHONY: elpa +elpa: elpa-$(EMACS) + .PHONY: build version build : elpa $(OBJECTS) version: $(EMACS) --version -test-checks : version +test-checks : version elpa $(CASK) exec $(EMACS) --no-site-file --no-site-lisp --batch \ -l test/scripts/cider-checks.el ./ @@ -46,7 +49,7 @@ clean : .PHONY: elpaclean elpaclean : clean - rm -f elpa + rm -f elpa* rm -rf .cask # Clean packages installed for development %.elc : %.el |