summaryrefslogtreecommitdiff
path: root/clutter-gtk/Makefile.am
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2010-08-09 15:28:31 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2010-08-09 15:28:49 +0100
commitd3e689d34a50d07949a5a8c936df6d3e31e5825d (patch)
tree4e4402f101dce4d6eed5d4c41d4134d1d900e2a4 /clutter-gtk/Makefile.am
parentfd6514e975beb97f17eb3f62847ab1d833d98b8a (diff)
downloadclutter-gtk-d3e689d34a50d07949a5a8c936df6d3e31e5825d.tar.gz
build: Fix up introspection for distchecking
Diffstat (limited to 'clutter-gtk/Makefile.am')
-rw-r--r--clutter-gtk/Makefile.am19
1 files changed, 9 insertions, 10 deletions
diff --git a/clutter-gtk/Makefile.am b/clutter-gtk/Makefile.am
index 3c793ec..0f13aa0 100644
--- a/clutter-gtk/Makefile.am
+++ b/clutter-gtk/Makefile.am
@@ -61,28 +61,27 @@ cluttergtkheaders_HEADERS = \
EXTRA_DIST += gtk-clutter-version.h.in
-INTROSPECTION_GIRS =
-
-include $(INTROSPECTION_MAKEFILE)
if HAVE_INTROSPECTION
+INTROSPECTION_GIRS = GtkClutter-1.0.gir
-GtkClutter-1.0.gir: $(INTROSPECTION_SCANNER) Makefile
+GtkClutter-1.0.gir: libclutter-gtk-@CLUTTER_GTK_API_VERSION@.la $(INTROSPECTION_SCANNER) Makefile
GtkClutter_1_0_gir_SCANNERFLAGS = --strip-prefix=GtkClutter --add-include-path=$(top_builddir)
+GtkClutter_1_0_gir_NAMESPACE = GtkClutter
+GtkClutter_1_0_gir_VERSION = 1.0
GtkClutter_1_0_gir_INCLUDES = Gtk-3.0 Clutter-1.0
GtkClutter_1_0_gir_PACKAGES = gtk+-3.0 clutter-1.0
GtkClutter_1_0_gir_CFLAGS = $(INCLUDES) $(AM_CPPFLAGS)
GtkClutter_1_0_gir_LIBS = libclutter-gtk-@CLUTTER_GTK_API_VERSION@.la
GtkClutter_1_0_gir_FILES = $(source_h_public) $(source_c)
-INTROSPECTION_GIRS += GtkClutter-1.0.gir
-
-girdir = $(datadir)/gir-1.0
-gir_DATA = $(INTROSPECTION_GIRS)
+girdir = $(datadir)/gir-1.0/
+dist_gir_DATA = GtkClutter-1.0.gir
-typelibsdir = $(libdir)/girepository-1.0
-typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
+typelibsdir = $(libdir)/girepository-1.0/
+typelibs_DATA = GtkClutter-1.0.typelib
-CLEANFILES += $(gir_DATA) $(typelibs_DATA)
+CLEANFILES += $(dist_gir_DATA) $(typelibs_DATA)
endif