manual: put generated sources to BUILT_SOURCES and clean them on make clean
authorStefan Kost <ensonic@users.sf.net>
Wed, 18 May 2011 11:59:45 +0000 (14:59 +0300)
committerStefan Kost <ensonic@users.sf.net>
Wed, 18 May 2011 11:59:45 +0000 (14:59 +0300)
tests/examples/manual/Makefile.am

index 9a70c2a..d06e0d6 100644 (file)
@@ -18,8 +18,6 @@ TESTS_ENVIRONMENT = \
         GST_PLUGIN_SYSTEM_PATH=                                 \
         GST_PLUGIN_PATH=$(top_builddir)/plugins
 
-CLEANFILES = core core.* test-registry.* *.gcno *.gcda
-
 EXTRA_DIST = extract.pl
 
 EXAMPLES = \
@@ -42,6 +40,20 @@ EXAMPLES = \
        decodebin \
        $(GST_LOADSAVE_SRC)
 
+BUILT_SOURCES = \
+       elementmake.c elementcreate.c elementget.c elementlink.c elementfactory.c \
+       bin.c \
+       pad.c ghostpad.c \
+       gnome.c \
+       helloworld.c \
+       init.c \
+       query.c \
+       typefind.c dynamic.c \
+       fakesrc.c \
+       playbin.c decodebin.c
+
+CLEANFILES = core core.* test-registry.* *.gcno *.gcda $(BUILT_SOURCES)
+
 AM_CFLAGS = $(GST_OBJ_CFLAGS)
 LDADD = $(top_builddir)/libs/gst/base/libgstbase-@GST_MAJORMINOR@.la \
        $(GST_OBJ_LIBS)