branch: elpa/tuareg commit 049ac7131c1b015b8e40c4c44cbc77b5e10b7167 Author: Mattias EngdegÄrd <matti...@acm.org> Commit: Mattias EngdegÄrd <matti...@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