From ffa9ad433e3910986bfc7f6cfe8c50fdd911006a Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sat, 19 Jun 2021 16:13:25 +0530 Subject: configure: Search for emacs. * configure.ac: Search for emacs. * Makefile.am: Use EMACS set by configure. --- Makefile.am | 2 +- configure.ac | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 395ac7e..fe9f98f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -100,7 +100,7 @@ website: website/index.html website/manual/dev/en website/index.html: README.org $(MKDIR_P) $(dir $@) - emacs -Q --script build-aux/build-home-page.el + $(EMACS) -Q --script build-aux/build-home-page.el website/manual/dev/en: $(SKRIBILO_BUILD_DIR)/ccwl.html rm -rf $@ diff --git a/configure.ac b/configure.ac index b59319a..d75c699 100644 --- a/configure.ac +++ b/configure.ac @@ -23,6 +23,7 @@ AM_SILENT_RULES([yes]) GUILE_PKG([3.0 2.2]) GUILE_PROGS +AC_PATH_PROG([EMACS], [emacs]) AC_PATH_PROG([SKRIBILO], [skribilo]) AC_CONFIG_FILES([Makefile]) -- cgit v1.2.3