Skip to content

Commit

Permalink
Fix the Makefile so that we can compile projectile
Browse files Browse the repository at this point in the history
The functionality has been basically copied from cider and now we can call make
in order to produce projectile.elc.
  • Loading branch information
arichiardi committed Jan 5, 2019
1 parent 823c0aa commit 260ce3f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/elpa
/.elpa
/.cask
*.elc
*~
[#]*[#]
*\#*\#
*.\#*
*.elc
.cask
elpa*
/TAGS
/project
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
### Bugs fixed

* [#1315](https://github.com/bbatsov/projectile/issues/1315): Give preference to the project types that were registered last.
* [#1367](https://github.com/bbatsov/projectile/issues/1367): Fix the Makefile so that we can compile projectile - use `make`.

## 1.0.0 (2018-07-21)

Expand Down
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,21 @@ OBJS = $(SRCS:.el=.elc)

.PHONY: compile test clean

elpa:
all: compile

elpa-$(EMACS):
$(CASK) install
$(CASK) update
touch $@

elpa: elpa-$(EMACS)

elpaclean:
rm -f elpa*
rm -rf .cask # Clean packages installed for development

compile: $(OBJS)
compile: elpa
$(CASK) build

clean:
rm -f $(OBJS)
Expand Down

0 comments on commit 260ce3f

Please sign in to comment.