diff options
author | Martin Polden <mpolden@mpolden.no> | 2021-04-05 17:19:36 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2021-04-05 17:19:36 +0200 |
commit | 6cfb314faa6c898fc1b1513a04de82391dfa9eff (patch) | |
tree | ec3d5f83b2352c3d6e1f94079e1dc847363fca9a /Makefile | |
parent | 319cc6ac7e4dfb646812dce13febf3c62f56eed2 (diff) |
makefile: Add target for installing Emacs
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,4 +1,5 @@ CURDIR ?= $(.CURDIR) +BREW ?= $(shell command -v brew 2> /dev/null) ECLIPSE_JDT ?= $(CURDIR)/eclipse.jdt.ls LN_FLAGS := -sfn @@ -10,6 +11,14 @@ all: install install: ln $(LN_FLAGS) $(CURDIR) ~/.emacs.d +install-emacs: +ifdef BREW + brew tap railwaycat/emacsmacport + brew install --with-mac-metal --with-emacs-big-sur-icon emacs-mac +else + $(error brew command not found) +endif + install-lsp: install-lsp-go install-lsp-java install-lsp-python install-lsp-rust install-lsp-go: |