summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-06-19 16:13:25 +0530
committerArun Isaac2021-06-19 16:14:58 +0530
commitffa9ad433e3910986bfc7f6cfe8c50fdd911006a (patch)
tree431f949d06740e7f79d24a07154abdb9e7acdf03
parent7d8380a08dab3921c9422e72d62f38bc6a5b3627 (diff)
downloadccwl-ffa9ad433e3910986bfc7f6cfe8c50fdd911006a.tar.gz
ccwl-ffa9ad433e3910986bfc7f6cfe8c50fdd911006a.tar.lz
ccwl-ffa9ad433e3910986bfc7f6cfe8c50fdd911006a.zip
configure: Search for emacs.
* configure.ac: Search for emacs. * Makefile.am: Use EMACS set by configure.
-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 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])