summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorArun Isaac2021-09-02 22:26:46 +0530
committerArun Isaac2021-09-02 22:30:23 +0530
commitcb61a526c82153c09ed357901166a42b48ba9d3b (patch)
tree2cdeaea5284297ca005f2fc703ee518fc47b9065 /configure.ac
parent12f12fbcb3cba4c634e10e7bf16a5c47d670f83b (diff)
downloadguile-xapian-cb61a526c82153c09ed357901166a42b48ba9d3b.tar.gz
website: Add website.
* website/style.css: New file.
* build-aux/build-home-page.el: New file.
* configure.ac: Look for emacs.
* Makefile.am (EMACS_GEN, EMACS_GEN_, EMACS_GEN_0, EMACS_GEN_1): New
variables.
(website, website/index.html): New target.
(CLEANFILES): Add website/index.html.
* .gitignore: Add website/index.html.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6045c42..693dfd5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,6 +32,9 @@ GUILE_PROGS
 PKG_CHECK_MODULES([XAPIAN], [xapian-core])
 PKG_CHECK_MODULES([ZLIB], [zlib])
 
+# To build the website
+AC_PATH_PROG([EMACS], [emacs])
+
 dnl pkg-config does not output xapian include flags when the include
 dnl path is already in CPATH. See
 dnl https://unix.stackexchange.com/questions/362289/why-is-pkg-config-cflags-openssl-returning-nothing-on-rhel-6-8