[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/tuareg 049ac7131c 1/3: Don't traverse entire /Applications
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/tuareg 049ac7131c 1/3: Don't traverse entire /Applications in search of Aquamacs |
Date: |
Wed, 29 Jun 2022 13:59:04 -0400 (EDT) |
branch: elpa/tuareg
commit 049ac7131c1b015b8e40c4c44cbc77b5e10b7167
Author: Mattias EngdegÄrd <mattiase@acm.org>
Commit: Mattias EngdegÄrd <mattiase@acm.org>
Don't traverse entire /Applications in search of Aquamacs
Doing that for each invokation of `make` is decidedly annoying.
---
Makefile | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 7993c72f8f..dd8f77fd15 100644
--- a/Makefile
+++ b/Makefile
@@ -20,21 +20,18 @@ DIST_FILES += $(ELS) Makefile README.md tuareg.install
EMACSFORMACOSX = /Applications/Emacs.app/Contents/MacOS/Emacs
EMACSMACPORTS = /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs
-AQUAMACS = $(shell test -d /Applications \
- && find /Applications -type f | grep 'Aquamacs$$')
+AQUAMACS = /Applications/Aquamacs.app/Contents/MacOS/Aquamacs
ifeq ($(wildcard $(EMACSFORMACOSX)),$(EMACSFORMACOSX))
EMACS ?= $(EMACSFORMACOSX)
else
ifeq ($(wildcard $(EMACSMACPORTS)),$(EMACSMACPORTS))
EMACS ?= $(EMACSMACPORTS)
else
-ifneq ($(strip $(AQUAMACS)),)
ifeq ($(wildcard $(AQUAMACS)),$(AQUAMACS))
EMACS ?= $(AQUAMACS)
endif
endif
endif
-endif
EMACS ?= emacs
RM ?= rm -f