aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2006-05-26 13:18:16 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2006-05-26 13:18:16 +0000
commitaf8225688adffff67675ce362c1c933a863a9393 (patch)
treef2d0b5920cf56b4c8f1750affedf67060dcc5062 /Makefile
parentc7827c3cf1dc85adc8bc06eb25f0fbd15f0a27ad (diff)
Detect EMACS setting.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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