summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-06-18 14:25:28 +0530
committerArun Isaac2021-06-18 14:27:16 +0530
commit7dc837dc17aafc7a14da5aafeba39330f8db4e03 (patch)
tree82dfec0e506364c310274965a504c8fb0daef7fb
parent45e01b54530a5907ea8fad180ab1cdb0c14de484 (diff)
downloadguile-email-7dc837dc17aafc7a14da5aafeba39330f8db4e03.tar.gz
guile-email-7dc837dc17aafc7a14da5aafeba39330f8db4e03.tar.lz
guile-email-7dc837dc17aafc7a14da5aafeba39330f8db4e03.zip
Configure path to emacs.
* configure.ac: Check for emacs. * Makefile.am (website/index.html): Use EMACS from configure instead of emacs.
-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])