From af8225688adffff67675ce362c1c933a863a9393 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Fri, 26 May 2006 13:18:16 +0000 Subject: Detect EMACS setting. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ffe553ea..b67ae14e 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ # Set this to "emacs" or "xemacs" according to your version of Emacs. # NB: this is also used to set default install path names below. -EMACS=xemacs +EMACS=$(shell if [ -z "`which xemacs`"]; then echo emacs; else echo xemacs; fi) # We default to /usr rather than /usr/local because installs of # desktop and doc files under /usr/local are unlikely to work with -- cgit v1.2.3