pyges: Install files from the examples and testsuite
authorThibault Saunier <thibault.saunier@collabora.com>
Thu, 11 Aug 2011 12:21:18 +0000 (14:21 +0200)
committerThibault Saunier <thibault.saunier@collabora.com>
Thu, 11 Aug 2011 13:59:32 +0000 (15:59 +0200)
bindings/python/Makefile.am
bindings/python/examples/Makefile.am [new file with mode: 0644]
bindings/python/testsuite/Makefile.am [new file with mode: 0644]
configure.ac

index 1a6cbfd40ae086ac2a0e2063ff89a4ec7e74870a..c15f334d511d2468ab2810ee24578bbdc701301f 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = codegen
+SUBDIRS = codegen examples testsuite
 pkgpyexecdir = $(pyexecdir)/gst-$(GST_MAJORMINOR)/gst
 
 # we install everything in pyexecdir; otherwise you end up with a mess for
@@ -40,5 +40,3 @@ CLEANFILES = ges.c
        && cp gen-$*.c $*.c \
        && rm -f gen-$*.c
 
-check:
-       @PYTHONPATH=$(top_srcdir):$(PYTHONPATH) $(PYTHON) $(srcdir)/testsuite/runtests.py
diff --git a/bindings/python/examples/Makefile.am b/bindings/python/examples/Makefile.am
new file mode 100644 (file)
index 0000000..1294bc2
--- /dev/null
@@ -0,0 +1,6 @@
+examplesdir = $(pkgdatadir)/$(GST_MAJORMINOR)/examples
+
+examples_DATA =        \
+       simple.py
+
+EXTRA_DIST = $(examples_DATA)
diff --git a/bindings/python/testsuite/Makefile.am b/bindings/python/testsuite/Makefile.am
new file mode 100644 (file)
index 0000000..c9df30a
--- /dev/null
@@ -0,0 +1,19 @@
+EXTRA_DIST = \
+       common.py \
+       test_timeline_pipeline.py \
+       test_timeline.py \
+       runtests.py \
+       test_global_functions.py \
+       test_timeline_test_source.py \
+       test_layer.py \
+       test_timeline_title_source.py \
+       test_simple_layer.py \
+       test_track.py \
+       test_textoverlay.py \
+       test_transition.py \
+       test_timeline_file_source.py \
+       test_timeline_parse_launch_effect.py
+
+check:
+       @PYTHONPATH=$(top_builddir):$(top_builddir)/bindings/python/.libs:`pwd`:$(top_srcdir):$(PYTHONPATH) $(PYTHON) $(srcdir)/runtests.py
+       @rm -fr *.pyc
index cd17b8965bb6985da057e91f7504e3bade8949c9..ade7f5f6f0ccbd4cb84a305b371c67698823ee56 100644 (file)
@@ -353,6 +353,8 @@ ges/Makefile
 bindings/makefile
 bindings/python/Makefile
 bindings/python/codegen/Makefile
+bindings/python/examples/Makefile
+bindings/python/testsuite/Makefile
 tests/Makefile
 tests/check/Makefile
 tests/examples/Makefile