summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-03-16 13:55:59 +0100
committerMartin Polden <mpolden@mpolden.no>2022-03-16 13:57:47 +0100
commit412d15686ad63529ce22d4a828adfc69b4df9612 (patch)
tree8da2531e3424be7d40e1ff4c39d2e5e511eac47f /Makefile
parentcb14ee915ece2535701720b2774560dac1f2aa41 (diff)
makefile: Handle any version when linking native-lisp
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index abc12bc..33b464a 100644
--- a/Makefile
+++ b/Makefile
@@ -15,8 +15,8 @@ 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
- ln -s `$(BREW) --prefix`/opt/emacs-mac/lib/emacs/28.0.91/native-lisp /Applications/Emacs.app/Contents/native-lisp
+ 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),)