diff options
author | Martin Polden <mpolden@mpolden.no> | 2022-01-25 19:17:41 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2022-01-25 20:52:01 +0100 |
commit | ded137bfa83c9fd9d7f7e9895f3d8d1ad518a157 (patch) | |
tree | a20557a2ba4e4071a4c2d049ace3ebde4f3aafe9 /Makefile | |
parent | f013bc6bfdf23738831a8dcfd84682bf077f2a17 (diff) |
makefile: Try emacs-mac again
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |