From: Tim-Philipp Müller Date: Fri, 2 Sep 2016 22:22:17 +0000 (+0100) Subject: tests: don't build misc subdir if both examples and benchmarks have been disabled X-Git-Tag: 1.10.4~119 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b1459b0a61bfa6a0cc49749d1562fb2fdbb06f9;p=platform%2Fupstream%2Fgstreamer.git tests: don't build misc subdir if both examples and benchmarks have been disabled https://bugzilla.gnome.org/show_bug.cgi?id=770740 --- diff --git a/tests/Makefile.am b/tests/Makefile.am index e5909fd..9fe291c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,7 +1,10 @@ EXTRA_DIST = README +# Build misc unless both --disable-examples and --disable-benchmarks were passed + if BUILD_BENCHMARKS SUBDIRS_BENCHMARKS = benchmarks +SUBDIRS_MISC = misc else SUBDIRS_BENCHMARKS = endif @@ -22,6 +25,7 @@ endif if BUILD_EXAMPLES SUBDIRS_EXAMPLES = examples +SUBDIRS_MISC = misc else SUBDIRS_EXAMPLES = endif @@ -29,7 +33,7 @@ endif SUBDIRS = \ $(SUBDIRS_BENCHMARKS) \ $(SUBDIRS_CHECK) \ - misc \ + $(SUBDIRS_MISC) \ $(SUBDIRS_TESTS) \ $(SUBDIRS_EXAMPLES)