summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-05 13:19:19 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-05 13:23:45 +0100
commit356e863c9cf61a6a4554bf238da8f8ae2cb95bc7 (patch)
treeefdde84d3e5d4e6085f249577aee04d1b6f3cd0b /tests
parent325841a4bbc397824ee6196c2200596513f5762e (diff)
tests: don't build examples if --disable-examples was passed to configure
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c949e2d6..5f10e8f3 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,5 +1,5 @@
if HAVE_GST_CHECK
-SUBDIRS_CHECK = check
+SUBDIRS_CHECK = check files
else
SUBDIRS_CHECK =
endif
@@ -10,7 +10,13 @@ else
SUBDIRS_ICLES =
endif
-SUBDIRS = $(SUBDIRS_CHECK) $(SUBDIRS_ICLES) examples files
+if BUILD_EXAMPLES
+SUBDIR_EXAMPLES = examples
+else
+SUBDIR_EXAMPLES =
+endif
+
+SUBDIRS = $(SUBDIRS_CHECK) $(SUBDIRS_ICLES) $(SUBDIR_EXAMPLES)
DIST_SUBDIRS = check icles examples files