1 ## Process this file with automake to produce Makefile.in
4 # Export these so that we run the locally installed autotools when building
5 # from a bootstrapped git tree.
6 export ACLOCAL AUTOCONF AUTOHEADER AUTOM4TE AUTOMAKE
9 ACLOCAL_AMFLAGS = -I m4
11 EXTRA_DIST = fake_dbfactory.i xapian-head.i xapian-headers.i generic/except.i \
12 generic/generate-generic-exceptions \
14 xapian-bindings.spec shortstop.list skiptest \
17 SUBDIRS = . @BINDINGS@
18 DIST_SUBDIRS = python python3 php java ruby tcl8 csharp perl lua
21 BUILT_SOURCES = generic/except.i
22 generic/except.i: $(srcdir)/generic/generate-generic-exceptions ../xapian-core/exception_data.pm
23 $(PERL) -w -I$(srcdir)/../xapian-core $(srcdir)/generic/generate-generic-exceptions
25 if !MAINTAINER_NO_DOCS
26 BUILT_SOURCES += doxygen-xml/index.xml
28 doxygen-xml/index.xml: $(XAPIAN_HEADERS)
29 $(DOXYGEN) doxygen_xml.conf
33 DISTCHECK_CONFIGURE_FLAGS = XAPIAN_CONFIG="$(XAPIAN_CONFIG)" \
34 PYTHON2_LIB='$(abs_builddir)/../_inst/tmp_py2lib' \
35 PYTHON3_LIB='$(abs_builddir)/../_inst/tmp_py3lib' \
36 PHP_EXTENSION_DIR='$(abs_builddir)/../_inst/tmp_phpext' \
37 RUBY_LIB='$(abs_builddir)/../_inst/tmp_rubylib' \
38 RUBY_LIB_ARCH='$(abs_builddir)/../_inst/tmp_rubylibarch' \
39 TCL_LIB='$(abs_builddir)/../_inst/tmp_tcllib' \
40 PERL_LIB='$(abs_builddir)/../_inst/tmp_perllib' \
41 LUA_LIB='$(abs_builddir)/../_inst/tmp_lualib'