summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2008-07-25 11:21:50 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-07-25 11:21:50 +0000
commit6ac66c8fb6be0f3b27508582063afaced63250c1 (patch)
treeebca583a07e363d1ed0c50b5548e5c9b78c5a7be /tests
parent487f1d5035881c2609c33dc554761a2a644209be (diff)
downloadpygobject-6ac66c8fb6be0f3b27508582063afaced63250c1.tar.gz
Make distcheck pass
2008-07-25 Johan Dahlin <johan@gnome.org> * gobject/Makefile.am: * tests/Makefile.am: Make distcheck pass svn path=/trunk/; revision=854
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 21fa0575..f7a98803 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -39,15 +39,18 @@ tests = \
testhelper.la: $(testhelper_la_OBJECTS) $(testhelper_la_DEPENDENCIES)
$(LINK) -rpath $(pkgpyexecdir) $(testhelper_la_LDFLAGS) $(testhelper_la_OBJECTS) $(testhelper_la_LIBADD) $(LIBS)
-check-local: $(top_srcdir)/gobject/__init__.py $(top_srcdir)/gio/__init__.py
+check-local: $(top_srcdir)/glib/__init__.py $(top_srcdir)/gobject/__init__.py $(top_srcdir)/gio/__init__.py
@if test "$(top_builddir)" != "$(top_srcdir)"; then \
+ cp $(top_srcdir)/glib/*.py $(top_builddir)/glib; \
cp $(top_srcdir)/gobject/*.py $(top_builddir)/gobject; \
cp $(top_srcdir)/gio/*.py $(top_builddir)/gio; \
fi
@$(PYTHON) $(srcdir)/runtests.py $(top_builddir) $(top_srcdir)
@if test "$(top_builddir)" != "$(top_srcdir)"; then \
+ rm -f $(top_builddir)/glib/*.py; \
rm -f $(top_builddir)/gobject/*.py; \
rm -f $(top_builddir)/gio/*.py; \
fi
+ @rm -fr $(top_builddir)/glib/*.pyc
@rm -fr $(top_builddir)/gobject/*.pyc
@rm -fr $(top_builddir)/gio/*.pyc