summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Expand)Author
2023-03-01Makefile: Distribute except.i.•••* Makefile.am (EXTRA_DIST): Add except.i. Arun Isaac
2023-01-20Catch C++ xapian exceptions and raise them as scheme exceptions.•••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. Arun Isaac
2022-06-20Makefile: Suffix libguilexapian with effective Guile version number.•••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. Arun Isaac
2022-06-07Makefile: Add swig flag to search for include files is srcdir.•••* Makefile.am (xapian_wrap.cc xapian/wrap.scm &): Add -I$(srcdir) to swig invocation. Arun Isaac
2022-06-07Makefile: Mark xapian/wrap.scm as built source file.•••* Makefile.am (BUILT_SOURCES, CLEANFILES): Add xapian/wrap.scm. (xapian/wrap.scm): Group with target xapian_wrap.cc. Arun Isaac
2022-06-07Makefile: Fix typo renaming xapian_wrap.scm to xapian/wrap.scm.•••* Makefile.am (xapian_wrap.scm): Rename to xapian/wrap.scm. Arun Isaac
2022-06-07Makefile: Distribute swig files.•••* Makefile.am (EXTRA_DIST): Add xapian.i.in, xapian-head.i and xapian-headers.i. Arun Isaac
2021-09-08Makefile: Clean xapian.i and xapian_wrap.cc.•••* Makefile.am (CLEANFILES): Add xapian.i and xapian_wrap.cc Arun Isaac
2021-09-08Makefile: Replace suffix rules with pattern rules.•••Suffix rules are deprecated. * Makefile.am (SUFFIXES): Delete variable. (.scm.go): Delete rule. (%.go): New rule. Arun Isaac
2021-09-07Makefile: Silence swig.•••* Makefile.am (SWIG_GEN, SWIG_GEN_, SWIG_GEN_0, SWIG_GEN_1): New variables. (xapian_wrap.cc): Silence with SWIG_GEN. Arun Isaac
2021-09-07Makefile: Silence guild with GUILD prefix.•••* Makefile.am (GUILD_GEN, GUILD_GEN_, GUILD_GEN_0, GUILD_GEN_1): New variables. (.scm.go): Use GUILD_GEN instead of AM_V_GEN. Arun Isaac
2021-09-07Set up testing infrastructure.•••* 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. Arun Isaac
2021-09-02Update copyright years.•••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. Arun Isaac
2021-09-02website: 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. Arun Isaac
2020-02-26Load libguilexapian with absolute path or through a search path.•••* 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. Arun Isaac
2020-02-19Build xapian/xapian.scm after libguilexapian.la.•••* Makefile.am: Build xapian/xapian.scm only after libguilexapian.la. Arun Isaac
2020-02-18Rerun pkg-config to find xapian include flags for swig.•••* configure.ac: Rerun pkg-config to find xapian include flags for swig. Store result in SWIG_FLAGS. * Makefile.am: Use SWIG_CFLAGS. Arun Isaac
2020-02-15First commit.Arun Isaac