summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-03-16 20:50:11 +0100
committerMartin Polden <mpolden@mpolden.no>2023-03-16 20:50:11 +0100
commit0bff1f1f69246959250cf3375bd498a6a8bd5232 (patch)
treee9f3e6b20849a20348fcf4d34cb241ddc39e9c51 /Makefile
parent79f7f572135be5773b7f2e1f326d1c8a35906c2c (diff)
makefile: install cask emacs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fa4dce1..e555e33 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,5 @@
CURDIR ?= $(.CURDIR)
BREW ?= $(shell command -v brew 2> /dev/null)
-BREW_EMACS_FLAGS ?= --with-native-comp
JDT_LS_VERSION ?= 1.17.0
JDT_LS_HOME ?= $(CURDIR)/eclipse.jdt.ls-$(JDT_LS_VERSION)
@@ -16,8 +15,7 @@ install:
install-emacs:
ifneq ($(BREW),)
$(BREW) tap railwaycat/emacsmacport
- $(BREW) install emacs-mac $(BREW_EMACS_FLAGS)
- ln -s `$(BREW) --prefix`/opt/emacs-mac/Emacs.app /Applications/Emacs.app || true
+ $(BREW) install --cask emacs-mac
else
$(error brew command not found)
endif