[libpeas] Fix out of tree build



commit 79fa68ee23f333d6d26b3632feae7f8e2999c10f
Author: Garrett Regier <garrettregier gmail com>
Date:   Sat Feb 11 12:15:38 2012 -0800

    Fix out of tree build

 tests/Makefile.plugin                              |    3 ++-
 tests/libpeas/plugins/extension-c/Makefile.am      |    4 +++-
 tests/libpeas/plugins/extension-js/Makefile.am     |    2 ++
 tests/libpeas/plugins/extension-python/Makefile.am |    3 ++-
 4 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/tests/Makefile.plugin b/tests/Makefile.plugin
index b48d5ef..b447637 100644
--- a/tests/Makefile.plugin
+++ b/tests/Makefile.plugin
@@ -13,7 +13,8 @@ all-local:
 	 done
 
 clean-local:
-	@test -z "$(noinst_PLUGIN)" || \
+	@rm -f gschemas.compiled ; \
+	 test -z "$(noinst_PLUGIN)" || \
 	 test $(srcdir) = $(builddir) || \
 	 for plugin in $(noinst_PLUGIN) ; do \
 	   if test -e $(builddir)/$$plugin ; then \
diff --git a/tests/libpeas/plugins/extension-c/Makefile.am b/tests/libpeas/plugins/extension-c/Makefile.am
index 87e6b9b..d601b38 100644
--- a/tests/libpeas/plugins/extension-c/Makefile.am
+++ b/tests/libpeas/plugins/extension-c/Makefile.am
@@ -20,6 +20,8 @@ libextension_c_la_LIBADD = \
 	$(PEAS_LIBS)						\
 	$(builddir)/../../introspection/libintrospection-1.0.la
 
-noinst_PLUGIN = extension-c.plugin
+noinst_PLUGIN = \
+	extension-c.gschema.xml	\
+	extension-c.plugin
 
 EXTRA_DIST = $(noinst_PLUGIN)
diff --git a/tests/libpeas/plugins/extension-js/Makefile.am b/tests/libpeas/plugins/extension-js/Makefile.am
index 24d6dee..db1e135 100644
--- a/tests/libpeas/plugins/extension-js/Makefile.am
+++ b/tests/libpeas/plugins/extension-js/Makefile.am
@@ -1,3 +1,5 @@
+include $(top_srcdir)/tests/Makefile.plugin
+
 noinst_DATA = \
 	extension-gjs.gschema.xml	\
 	extension-gjs.js		\
diff --git a/tests/libpeas/plugins/extension-python/Makefile.am b/tests/libpeas/plugins/extension-python/Makefile.am
index 4fe7fbb..ca8cd84 100644
--- a/tests/libpeas/plugins/extension-python/Makefile.am
+++ b/tests/libpeas/plugins/extension-python/Makefile.am
@@ -3,7 +3,8 @@ include $(top_srcdir)/tests/Makefile.plugin
 noinst_PYTHON = extension-python.py
 
 noinst_PLUGIN = \
-	extension-python.plugin	\
+	extension-python.gschema.xml	\
+	extension-python.plugin		\
 	extension-python.py
 
 EXTRA_DIST = $(noinst_PLUGIN)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]