From 7dc837dc17aafc7a14da5aafeba39330f8db4e03 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 18 Jun 2021 14:25:28 +0530 Subject: Configure path to emacs. * configure.ac: Check for emacs. * Makefile.am (website/index.html): Use EMACS from configure instead of emacs. --- Makefile.am | 2 +- configure.ac | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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]) -- cgit v1.2.3