aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 3225bf1..3b50d16 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -75,8 +75,8 @@ EXTRA_DIST += \
website: website/index.html website/manual/dev/en
website/index.html: README.org
- emacs -Q --script build-website.el
$(MKDIR_P) $(dir $@)
+ $(EMACS) -Q --script build-website.el
website/manual/dev/en: doc/guile-email.html
rm -rf $@
diff --git a/configure.ac b/configure.ac
index 65311cc..c418e88 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,7 @@ AM_SILENT_RULES([yes])
GUILE_PKG([3.0 2.2])
GUILE_PROGS
+AC_PATH_PROG([EMACS], [emacs])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])