summaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/lua/Makefile.am b/lua/Makefile.am
index 914f4c5..c1ef9c4 100644
--- a/lua/Makefile.am
+++ b/lua/Makefile.am
@@ -18,14 +18,18 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+if IBUS_BUILD_LUA_EXTENSION
lua_script_DATA = base.lua \
$(NULL)
+endif
lua_scriptdir = $(pkgdatadir)
+if IBUS_BUILD_LUA_EXTENSION
noinst_LTLIBRARIES = \
libpylua.la \
$(NULL)
+endif
libpylua_la_SOURCES = \
lua-plugin.h \
@@ -44,12 +48,14 @@ libpylua_la_LIBADD = \
@LUA_LIBS@ \
$(NULL)
+if IBUS_BUILD_LUA_EXTENSION
TESTS = \
+ lua-ext-console \
test-lua-plugin \
$(NULL)
+endif
noinst_PROGRAMS = \
- lua-ext-console \
$(TESTS) \
$(NULL)