aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2023-01-20Catch C++ xapian exceptions and raise them as scheme exceptions.Arun Isaac
Uncaught C++ exceptions crash the guile process without providing scheme code any opportunity to respond. * except.i, xapian/error.scm: New files. * xapian.i.in: Include except.i. * Makefile.am (SOURCES): Add xapian/error.scm. (xapian_wrap.cc xapian/wrap.scm &): Depend on except.i.
2022-06-20Makefile: Suffix libguilexapian with effective Guile version number.Arun Isaac
We need to distinguish between libguilexapian built for different versions of Guile. * Makefile.am (lib_LTLIBRARIES): Replace libguilexapian.la with libguilexapian-@GUILE_EFFECTIVE_VERSION@.la. (libguilexapian_la_SOURCES): Rename to libguilexapian_@GUILE_EFFECTIVE_VERSION@_la_SOURCES. (libguilexapian_la_CXXFLAGS): Rename to libguilexapian_@GUILE_EFFECTIVE_VERSION@_la_CXXFLAGS. (libguilexapian_la_LDFLAGS): Rename to libguilexapian_@GUILE_EFFECTIVE_VERSION@_la_LDFLAGS. (xapian.i): Substitute @GUILE_EFFECTIVE_VERSION@. (xapian/xapian.go): Depend on libguilexapian-@GUILE_EFFECTIVE_VERSION@.la instead of libguilexapian.la. * xapian.i.in: Load libguilexapian-@GUILE_EFFECTIVE_VERSION@.la instead of libguilexapian.la.
2022-06-07Makefile: Add swig flag to search for include files is srcdir.Arun Isaac
* Makefile.am (xapian_wrap.cc xapian/wrap.scm &): Add -I$(srcdir) to swig invocation.
2022-06-07Makefile: Mark xapian/wrap.scm as built source file.Arun Isaac
* Makefile.am (BUILT_SOURCES, CLEANFILES): Add xapian/wrap.scm. (xapian/wrap.scm): Group with target xapian_wrap.cc.
2022-06-07Makefile: Fix typo renaming xapian_wrap.scm to xapian/wrap.scm.Arun Isaac
* Makefile.am (xapian_wrap.scm): Rename to xapian/wrap.scm.
2022-06-07Makefile: Distribute swig files.Arun Isaac
* Makefile.am (EXTRA_DIST): Add xapian.i.in, xapian-head.i and xapian-headers.i.
2021-09-08Makefile: Clean xapian.i and xapian_wrap.cc.Arun Isaac
* Makefile.am (CLEANFILES): Add xapian.i and xapian_wrap.cc
2021-09-08Makefile: Replace suffix rules with pattern rules.Arun Isaac
Suffix rules are deprecated. * Makefile.am (SUFFIXES): Delete variable. (.scm.go): Delete rule. (%.go): New rule.
2021-09-07Makefile: Silence swig.Arun Isaac
* Makefile.am (SWIG_GEN, SWIG_GEN_, SWIG_GEN_0, SWIG_GEN_1): New variables. (xapian_wrap.cc): Silence with SWIG_GEN.
2021-09-07Makefile: Silence guild with GUILD prefix.Arun Isaac
* Makefile.am (GUILD_GEN, GUILD_GEN_, GUILD_GEN_0, GUILD_GEN_1): New variables. (.scm.go): Use GUILD_GEN instead of AM_V_GEN.
2021-09-07Set up testing infrastructure.Arun Isaac
* tests/xapian.scm: New file. * build-aux/test-driver.scm.in: New file. * configure.ac: Configure build-aux/test-driver.scm. * .gitignore: Add build-aux/test-driver.scm, tests/*.log and tests/*.trs. * Makefile.am (EXTRA_DIST): Add TESTS. (TEST_EXTENSIONS, SCM_TESTS, TESTS, SCM_LOG_DRIVER): New variables.
2021-09-02Update copyright years.Arun Isaac
This is a follow-up to commits cb61a526c82153c09ed357901166a42b48ba9d3b and 12f12fbcb3cba4c634e10e7bf16a5c47d670f83b where the copyright year was not updated. * Makefile.am, build-aux/build-home-page.el, configure.ac, guix.scm: Add 2021 to copyright.
2021-09-02website: Add website.Arun Isaac
* 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.
2020-02-26Load libguilexapian with absolute path or through a search path.Arun Isaac
* xapian.i: Rename to xapian.i.in. * xapian.i.in: Try loading libguilexapian with absolute path first. If it fails, then try searching using LD_LIBRARY_PATH and other mechanisms. * Makefile.am: Generate xapian.i from xapian.i.in.
2020-02-19Build xapian/xapian.scm after libguilexapian.la.Arun Isaac
* Makefile.am: Build xapian/xapian.scm only after libguilexapian.la.
2020-02-18Rerun pkg-config to find xapian include flags for swig.Arun Isaac
* configure.ac: Rerun pkg-config to find xapian include flags for swig. Store result in SWIG_FLAGS. * Makefile.am: Use SWIG_CFLAGS.
2020-02-15First commit.Arun Isaac