gobject-introspection r108 - in trunk: . tests/parser



Author: johan
Date: Sun Feb 10 19:10:22 2008
New Revision: 108
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=108&view=rev

Log:
2008-02-10  Johan Dahlin  <johan gnome org>

	* tests/parser/Makefile.am: Only create Foo.gidl when running make
	check, eg exclude it from BUILT_SOURCES.



Modified:
   trunk/ChangeLog
   trunk/tests/parser/Makefile.am

Modified: trunk/tests/parser/Makefile.am
==============================================================================
--- trunk/tests/parser/Makefile.am	(original)
+++ trunk/tests/parser/Makefile.am	Sun Feb 10 19:10:22 2008
@@ -8,19 +8,19 @@
 libfoo_la_LDFLAGS = -module -avoid-version
 libfoo_la_LIBADD = $(GOBJECT_LIBS)
 
-BUILT_SOURCES = Foo.gidl
 CLEANFILES = Foo.gidl
 EXTRA_DIST = Foo-expected.gidl
 
-SCAN_SOURCES = $(srcdir)/foo-object.h
+SCANSOURCES = $(srcdir)/foo-object.h
 
 Foo.gidl: libfoo.la foo-object.h $(top_builddir)/tools/g-idl-scanner
-	G_DEBUG=fatal_warnings $(top_builddir)/tools/g-idl-scanner -v --namespace=Foo \
+	G_DEBUG=fatal_warnings $(top_builddir)/tools/g-idl-scanner -v \
+	--namespace=Foo \
 	--include-idl=$(top_srcdir)/gidl/GLib.gidl \
-	$(SCAN_SOURCES) -I$(srcdir) $(GOBJECT_CFLAGS) \
+	$(SCANSOURCES) -I$(srcdir) $(GOBJECT_CFLAGS) \
 	libfoo.la --output $@
 
-check-local:
+check-local: Foo.gidl
 	@diff -u $(srcdir)/Foo-expected.gidl Foo.gidl && echo "Foo.gidl"
 	@echo "======================="
 	@echo "All parser tests passed"



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