Skip to content

Commit ee3f3b2

Browse files
vspinubbatsov
authored andcommitted
Make elpa target understand emacs versions
... and add elpa dependency to test-checks target
1 parent b88daf2 commit ee3f3b2

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*.\#*
44
*.elc
55
.cask
6-
elpa
6+
elpa*
77
.depend
88
TAGS
99
.DS_STORE

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,21 @@ OBJECTS = $(ELS:.el=.elc)
1616

1717
-include .depend
1818

19-
elpa:
19+
elpa-$(EMACS):
2020
$(CASK) install
2121
$(CASK) update
2222
touch $@
2323

24+
.PHONY: elpa
25+
elpa: elpa-$(EMACS)
26+
2427
.PHONY: build version
2528
build : elpa $(OBJECTS)
2629

2730
version:
2831
$(EMACS) --version
2932

30-
test-checks : version
33+
test-checks : version elpa
3134
$(CASK) exec $(EMACS) --no-site-file --no-site-lisp --batch \
3235
-l test/scripts/cider-checks.el ./
3336

@@ -46,7 +49,7 @@ clean :
4649

4750
.PHONY: elpaclean
4851
elpaclean : clean
49-
rm -f elpa
52+
rm -f elpa*
5053
rm -rf .cask # Clean packages installed for development
5154

5255
%.elc : %.el

0 commit comments

Comments
 (0)