summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/scripts/Makefile.am6
-rw-r--r--weechat/src/plugins/scripts/Makefile.am6
2 files changed, 10 insertions, 2 deletions
diff --git a/src/plugins/scripts/Makefile.am b/src/plugins/scripts/Makefile.am
index 05644ce2c..177812688 100644
--- a/src/plugins/scripts/Makefile.am
+++ b/src/plugins/scripts/Makefile.am
@@ -34,4 +34,8 @@ if PLUGIN_RUBY
ruby_dir = ruby
endif
-SUBDIRS = . $(perl_dir) $(python_dir) $(ruby_dir)
+if PLUGIN_LUA
+lua_dir = lua
+endif
+
+SUBDIRS = . $(perl_dir) $(python_dir) $(ruby_dir) $(lua_dir)
diff --git a/weechat/src/plugins/scripts/Makefile.am b/weechat/src/plugins/scripts/Makefile.am
index 05644ce2c..177812688 100644
--- a/weechat/src/plugins/scripts/Makefile.am
+++ b/weechat/src/plugins/scripts/Makefile.am
@@ -34,4 +34,8 @@ if PLUGIN_RUBY
ruby_dir = ruby
endif
-SUBDIRS = . $(perl_dir) $(python_dir) $(ruby_dir)
+if PLUGIN_LUA
+lua_dir = lua
+endif
+
+SUBDIRS = . $(perl_dir) $(python_dir) $(ruby_dir) $(lua_dir)