[gst-cvs] gst-python: Fix distcheck some more.

Alessandro Decina alessandro at kemper.freedesktop.org
Mon Nov 22 05:20:03 PST 2010


Module: gst-python
Branch: master
Commit: a1584d04c528d7dadd750a8762eb5ee266fccdca
URL:    http://cgit.freedesktop.org/gstreamer/gst-python/commit/?id=a1584d04c528d7dadd750a8762eb5ee266fccdca

Author: Alessandro Decina <alessandro.decina at collabora.co.uk>
Date:   Mon Nov 22 14:18:05 2010 +0100

Fix distcheck some more.

In testsuite/common.py look for gst/__init__.py in builddir now.
Clean gst/__init__.pyc after make check.

---

 gst/Makefile.am     |    2 +-
 testsuite/common.py |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gst/Makefile.am b/gst/Makefile.am
index a395997..e094de9 100644
--- a/gst/Makefile.am
+++ b/gst/Makefile.am
@@ -80,7 +80,7 @@ GST_OVERRIDES = 		\
 	gstbase.override
 
 GST_DEFS = gst.defs gst-types.defs gst-extrafuncs.defs libs.defs base.defs
-CLEANFILES = gst.c
+CLEANFILES = gst.c __init__.pyc
 EXTRA_DIST += $(GST_DEFS) $(GST_OVERRIDES) gstversion.override.in
 gst.c: $(GST_DEFS) $(GST_OVERRIDES) $(GEN_FILES) gstversion.override __init__.py
 
diff --git a/testsuite/common.py b/testsuite/common.py
index cc81745..eca4877 100644
--- a/testsuite/common.py
+++ b/testsuite/common.py
@@ -61,8 +61,8 @@ topsrcdir = os.path.abspath(os.path.join('..'))
 if topsrcdir.endswith('_build'):
     topsrcdir = os.path.dirname(topsrcdir)
 
-# gst's __init__.py is in topsrcdir/gst
-path = os.path.abspath(os.path.join(topsrcdir, 'gst'))
+# gst's __init__.py is in topbuilddir/gst
+path = os.path.abspath(os.path.join(topbuilddir, 'gst'))
 import gst
 file = gst.__file__
 assert file.startswith(path), 'bad gst path: %s' % file





More information about the Gstreamer-commits mailing list