summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-03-29 20:20:55 +0200
committerMartin Polden <mpolden@mpolden.no>2022-03-29 20:45:05 +0200
commit1813992d66c1543e966e3c75116d1822d70e85d3 (patch)
tree4342e54dbb01a3ddc1c04ac079b028e35f8e40b9 /Makefile
parent775a79ecfd5042c6b19914ff2702e3803bffbb87 (diff)
makefile: Do not install cask variant by default
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 33b464a..19ead26 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CURDIR ?= $(.CURDIR)
BREW ?= $(shell command -v brew 2> /dev/null)
-BREW_EMACS_FLAGS ?= --cask
+BREW_EMACS_FLAGS ?=
JDT_LS_HOME ?= $(CURDIR)/eclipse.jdt.ls
JDT_LS_VERSION ?= 1.8.0
@@ -15,15 +15,13 @@ install:
install-emacs-head: BREW_EMACS_FLAGS=--HEAD --with-native-comp
install-emacs-head: install-emacs
- ln -s `$(BREW) --prefix`/opt/emacs-mac/Emacs.app /Applications/Emacs.app || true
ln -s `$(BREW) --prefix`/opt/emacs-mac/lib/emacs/*/native-lisp /Applications/Emacs.app/Contents/native-lisp
install-emacs:
ifneq ($(BREW),)
$(BREW) tap railwaycat/emacsmacport
$(BREW) install $(BREW_EMACS_FLAGS) emacs-mac
-# https://github.com/railwaycat/homebrew-emacsmacport/issues/279
- codesign --remove-signature /Applications/Emacs.app
+ ln -s `$(BREW) --prefix`/opt/emacs-mac/Emacs.app /Applications/Emacs.app || true
else
$(error brew command not found)
endif