diff --git a/gst/Makefile.am b/gst/Makefile.am index a395997add..e094de9959 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 cc81745ca9..eca4877adc 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