Support: quest -f cjk_ngram
[xapian.git] / xapian-bindings / Makefile.am
blobc60b19af4aa73b9be186661b9e3ada140814cdf8
1 ## Process this file with automake to produce Makefile.in
3 if MAINTAINER_MODE
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
7 endif
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 \
13     xapian-bindings.spec shortstop.list skiptest \
14     HACKING
16 SUBDIRS = . @BINDINGS@
17 DIST_SUBDIRS = python python3 php java ruby tcl8 csharp perl lua
19 if MAINTAINER_MODE
20 BUILT_SOURCES = generic/except.i
21 generic/except.i: $(srcdir)/generic/generate-generic-exceptions ../xapian-core/exception_data.pm
22         $(PERL) -w -I$(srcdir)/../xapian-core $(srcdir)/generic/generate-generic-exceptions
24 if !MAINTAINER_NO_DOCS
25 BUILT_SOURCES += doxygen-xml/index.xml
27 doxygen-xml/index.xml: $(XAPIAN_HEADERS)
28         $(DOXYGEN) doxygen_xml.conf
29 endif
30 endif
32 DISTCHECK_CONFIGURE_FLAGS = XAPIAN_CONFIG="$(XAPIAN_CONFIG)" \
33         PYTHON2_LIB="`pwd`/../_inst/tmp_py2lib" \
34         PYTHON3_LIB="`pwd`/../_inst/tmp_py3lib" \
35         PHP_EXTENSION_DIR="`pwd`/../_inst/tmp_phpext" \
36         RUBY_LIB="`pwd`/../_inst/tmp_rubylib" \
37         RUBY_LIB_ARCH="`pwd`/../_inst/tmp_rubylibarch" \
38         TCL_LIB="`pwd`/../_inst/tmp_tcllib" \
39         PERL_LIB="`pwd`/../_inst/tmp_perllib" \
40         LUA_LIB="`pwd`/../_inst/tmp_lualib"