summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-01-25 19:17:41 +0100
committerMartin Polden <mpolden@mpolden.no>2022-01-25 20:52:01 +0100
commitded137bfa83c9fd9d7f7e9895f3d8d1ad518a157 (patch)
treea20557a2ba4e4071a4c2d049ace3ebde4f3aafe9 /Makefile
parentf013bc6bfdf23738831a8dcfd84682bf077f2a17 (diff)
makefile: Try emacs-mac again
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 62a0e1b..2f62598 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@ CURDIR ?= $(.CURDIR)
BREW ?= $(shell command -v brew 2> /dev/null)
JDT_LS_HOME ?= $(CURDIR)/eclipse.jdt.ls
JDT_LS_VERSION ?= 1.4.0-202109161824
+EMACS_FLAGS ?= --cask
LN_FLAGS := -sfn
COLOR := \033[32;01m
@@ -12,9 +13,15 @@ all: install
install:
ln $(LN_FLAGS) $(CURDIR) ~/.emacs.d
+install-emacs-head: EMACS_FLAGS=--HEAD --with-native-comp
+install-emacs-head: install-emacs
+ ln -s `brew --prefix`/opt/emacs-mac/Emacs.app /Applications/Emacs.app
+ ln -s `brew --prefix`/opt/emacs-mac/lib/emacs/28.0.91/native-lisp /Applications/Emacs.app/Contents/native-lisp
+
install-emacs:
ifneq ($(BREW),)
- brew install --cask emacs
+ brew tap railwaycat/emacsmacport
+ brew install $(EMACS_FLAGS) emacs-mac
else
$(error brew command not found)
endif