diff options
author | Johan Dahlin <johan@gnome.org> | 2008-02-10 19:10:22 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-02-10 19:10:22 +0000 |
commit | 764960cb9374f2c2a3ddee781c6e0ca77e4ecc05 (patch) | |
tree | 149bb8d2ed7654b9685c07579965e3d41946cde3 /tests | |
parent | c47fdd9b33805d939a679bc03fef2c0006c1ff47 (diff) | |
download | gobject-introspection-764960cb9374f2c2a3ddee781c6e0ca77e4ecc05.tar.gz |
Only create Foo.gidl when running make check, eg exclude it from
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.
svn path=/trunk/; revision=108
Diffstat (limited to 'tests')
-rw-r--r-- | tests/parser/Makefile.am | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/parser/Makefile.am b/tests/parser/Makefile.am index 409ebc9b..60a6565e 100644 --- a/tests/parser/Makefile.am +++ b/tests/parser/Makefile.am @@ -8,19 +8,19 @@ libfoo_la_CFLAGS = $(GOBJECT_CFLAGS) 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" |