From 2d5ab4efc22172e8d5582a74df502500e2750a99 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Mon, 21 Nov 2011 16:30:28 +0100
Subject: [PATCH] re-add a Makefile.am in plugins dir that includes nothing in
 the generated tarball, but that installs plugins in this directory.

---
 Makefile.am         |  2 +-
 configure.ac        |  1 +
 plugins/Makefile.am | 15 +++++++++++++++
 3 files changed, 17 insertions(+), 1 deletion(-)
 create mode 100644 plugins/Makefile.am

diff --git a/Makefile.am b/Makefile.am
index 1bb39b2d27..99a1380187 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = src data po icons
+SUBDIRS = src data po icons plugins
 
 ACLOCAL_AMFLAGS = -I m4
 
diff --git a/configure.ac b/configure.ac
index 1895fe2d2c..d9ce3bf06e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,6 +79,7 @@ AC_CONFIG_FILES([
 	scripts/gajim-remote:scripts/gajim.in
 	scripts/gajim-history-manager:scripts/gajim.in
 	po/Makefile.in
+	plugins/Makefile
 ])
 AC_OUTPUT
 echo "
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
new file mode 100644
index 0000000000..70c35b71b4
--- /dev/null
+++ b/plugins/Makefile.am
@@ -0,0 +1,15 @@
+INCLUDES = \
+	$(PYTHON_INCLUDES)
+
+gajimpluginsdir = $(gajim_pluginsdir)
+
+dist_gajimplugins_PYTHON = 
+
+nobase_gajimplugins_DATA = \
+	$(srcdir)/*/*.py \
+	$(srcdir)/*/manifest.ini \
+	$(srcdir)/*/*.ui \
+	$(srcdir)/*/*.png
+
+
+MAINTAINERCLEANFILES = Makefile.in
-- 
GitLab