Fix distcheck.
authorAlessandro Decina <alessandro.decina@collabora.co.uk>
Mon, 22 Nov 2010 12:41:17 +0000 (13:41 +0100)
committerAlessandro Decina <alessandro.decina@collabora.co.uk>
Mon, 22 Nov 2010 12:41:17 +0000 (13:41 +0100)
Before this change gst/__init__.py wasn't being copied to
$(top_builddir)/gst/, making make check fail to import gst.

configure.ac
gst/Makefile.am
gst/__init__.py.in [moved from gst/__init__.py with 100% similarity]

index 82dd416..2bf0d8a 100644 (file)
@@ -421,4 +421,5 @@ AC_OUTPUT([
   testsuite/Makefile
   win32/common/config.h
   gst-python.spec
+  gst/__init__.py
 ])
index d5d49da..a395997 100644 (file)
@@ -82,7 +82,7 @@ GST_OVERRIDES =               \
 GST_DEFS = gst.defs gst-types.defs gst-extrafuncs.defs libs.defs base.defs
 CLEANFILES = gst.c
 EXTRA_DIST += $(GST_DEFS) $(GST_OVERRIDES) gstversion.override.in
-gst.c: $(GST_DEFS) $(GST_OVERRIDES) $(GEN_FILES) gstversion.override
+gst.c: $(GST_DEFS) $(GST_OVERRIDES) $(GEN_FILES) gstversion.override __init__.py
 
 # GStreamer interfaces bindings
 interfaces_la_CFLAGS = $(common_cflags) $(GST_PLUGINS_BASE_CFLAGS)
similarity index 100%
rename from gst/__init__.py
rename to gst/__init__.py.in