[gjs] build: Don't install test typelibs



commit 62b218a7b56485cbbf705dece00f915177187f00
Author: Colin Walters <walters verbum org>
Date:   Sun Feb 24 15:58:16 2013 -0500

    build: Don't install test typelibs
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694221

 Makefile-test.am |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/Makefile-test.am b/Makefile-test.am
index 08cf9ab..0ced4f3 100644
--- a/Makefile-test.am
+++ b/Makefile-test.am
@@ -1,6 +1,8 @@
 RUN_WITH_DBUS = ${top_srcdir}/test/run-with-dbus --session --system
 GTESTER = ${TESTS_ENVIRONMENT} ${RUN_WITH_DBUS} gtester
 
+TEST_GIRS =
+
 ########################################################################
 TEST_PROGS += gjs-tests
 
@@ -64,21 +66,21 @@ Regress-1.0.gir: libregress.la
 Regress_1_0_gir_LIBS = libregress.la
 Regress_1_0_gir_FILES = $(nodist_libregress_la_SOURCES)
 Regress_1_0_gir_SCANNERFLAGS = --warn-all --warn-error $(libregress_scannerflags_includes) 
$(libregress_la_CPPFLAGS)
-INTROSPECTION_GIRS += Regress-1.0.gir
+TEST_GIRS += Regress-1.0.gir
 
 WarnLib-1.0.gir: libwarnlib.la
 WarnLib_1_0_gir_LIBS = libwarnlib.la
 WarnLib_1_0_gir_INCLUDES = Gio-2.0
 WarnLib_1_0_gir_FILES = $(nodist_libwarnlib_la_SOURCES)
 WarnLib_1_0_gir_SCANNERFLAGS = --c-include="warnlib.h" --symbol-prefix=warnlib_
-INTROSPECTION_GIRS += WarnLib-1.0.gir
+TEST_GIRS += WarnLib-1.0.gir
 
 GIMarshallingTests-1.0.gir: libgimarshallingtests.la
 GIMarshallingTests_1_0_gir_LIBS = libgimarshallingtests.la
 GIMarshallingTests_1_0_gir_INCLUDES = Gio-2.0
 GIMarshallingTests_1_0_gir_FILES = $(nodist_libgimarshallingtests_la_SOURCES)
 GIMarshallingTests_1_0_gir_SCANNERFLAGS = --symbol-prefix=gi_marshalling_tests --warn-all --warn-error
-INTROSPECTION_GIRS += GIMarshallingTests-1.0.gir
+TEST_GIRS += GIMarshallingTests-1.0.gir
 
 ########################################################################
 TESTS_ENVIRONMENT =                                                    \
@@ -97,7 +99,7 @@ if !ENABLE_CAIRO
 TESTS_ENVIRONMENT += GJS_TEST_SKIP_CAIRO=1
 endif
 
-tests_dependencies = $(gjsnative_LTLIBRARIES) ${TEST_PROGS} Regress-1.0.typelib WarnLib-1.0.typelib 
GIMarshallingTests-1.0.typelib
+tests_dependencies = $(gjsnative_LTLIBRARIES) ${TEST_PROGS} $(TEST_GIRS:.gir=.typelib)
 
 test: $(tests_dependencies)
        @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS} ${TEST_PROGS_OPTIONS}


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