gobject-introspection r245 - trunk/tests/parser
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r245 - trunk/tests/parser
- Date: Mon, 28 Apr 2008 04:05:29 +0100 (BST)
Author: johan
Date: Mon Apr 28 03:05:29 2008
New Revision: 245
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=245&view=rev
Log:
Make distcheck pass
Modified:
trunk/tests/parser/Makefile.am
Modified: trunk/tests/parser/Makefile.am
==============================================================================
--- trunk/tests/parser/Makefile.am (original)
+++ trunk/tests/parser/Makefile.am Mon Apr 28 03:05:29 2008
@@ -4,12 +4,12 @@
testlibdir = $(prefix)/unused
install-testlibLTLIBRARIES: # prevent it from being installed
-libfoo_la_SOURCES = foo.c foo-object.h
+libfoo_la_SOURCES = $(srcdir)/foo.c $(srcdir)/foo-object.h
libfoo_la_CFLAGS = $(GOBJECT_CFLAGS)
libfoo_la_LDFLAGS = -module -avoid-version
libfoo_la_LIBADD = $(GOBJECT_LIBS)
-libutility_la_SOURCES = utility.c utility.h
+libutility_la_SOURCES = $(srcdir)/utility.c $(srcdir)/utility.h
libutility_la_CFLAGS = $(GOBJECT_CFLAGS)
libutility_la_LDFLAGS = -module -avoid-version
libutility_la_LIBADD = $(GOBJECT_LIBS)
@@ -31,7 +31,7 @@
Foo.gir: libfoo.la foo-object.h $(SCANNER)
@PYTHONPATH=$(top_builddir) $(SCANNER) -v \
--include=$(top_srcdir)/gir/gobject-2.0.gir \
- --include=$(srcdir)/utility.gir \
+ --include=$(builddir)/utility.gir \
--library=libfoo.la \
--namespace=Foo \
--pkg gobject-2.0 \
@@ -42,11 +42,17 @@
@diff -u -U 10 $(srcdir)/$*-expected.gir $*.gir && echo "* $*.gir"
pre-check:
+ @if test "$(top_builddir)" != "$(top_srcdir)"; then \
+ cp $(top_srcdir)/giscanner/*.py $(top_builddir)/giscanner; \
+ fi
@echo "Running parser checks..."
check-local: pre-check check-utility.gir check-Foo.gir
@echo "======================="
@echo "All parser tests passed"
@echo "======================="
+ @if test "$(top_builddir)" != "$(top_srcdir)"; then \
+ rm -f $(top_builddir)/giscanner/*.py*; \
+ fi
.PHONY: utility.gir Foo.gir
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]