diff options
author | Martin Polden <mpolden@mpolden.no> | 2023-03-16 20:50:11 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2023-03-16 20:50:11 +0100 |
commit | 0bff1f1f69246959250cf3375bd498a6a8bd5232 (patch) | |
tree | e9f3e6b20849a20348fcf4d34cb241ddc39e9c51 /Makefile | |
parent | 79f7f572135be5773b7f2e1f326d1c8a35906c2c (diff) |
makefile: install cask emacs
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |