mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
tests: don't build misc subdir if both examples and benchmarks have been disabled
https://bugzilla.gnome.org/show_bug.cgi?id=770740
This commit is contained in:
parent
0e8ebbe590
commit
1b1459b0a6
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,10 @@
|
||||||
EXTRA_DIST = README
|
EXTRA_DIST = README
|
||||||
|
|
||||||
|
# Build misc unless both --disable-examples and --disable-benchmarks were passed
|
||||||
|
|
||||||
if BUILD_BENCHMARKS
|
if BUILD_BENCHMARKS
|
||||||
SUBDIRS_BENCHMARKS = benchmarks
|
SUBDIRS_BENCHMARKS = benchmarks
|
||||||
|
SUBDIRS_MISC = misc
|
||||||
else
|
else
|
||||||
SUBDIRS_BENCHMARKS =
|
SUBDIRS_BENCHMARKS =
|
||||||
endif
|
endif
|
||||||
|
@ -22,6 +25,7 @@ endif
|
||||||
|
|
||||||
if BUILD_EXAMPLES
|
if BUILD_EXAMPLES
|
||||||
SUBDIRS_EXAMPLES = examples
|
SUBDIRS_EXAMPLES = examples
|
||||||
|
SUBDIRS_MISC = misc
|
||||||
else
|
else
|
||||||
SUBDIRS_EXAMPLES =
|
SUBDIRS_EXAMPLES =
|
||||||
endif
|
endif
|
||||||
|
@ -29,7 +33,7 @@ endif
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
$(SUBDIRS_BENCHMARKS) \
|
$(SUBDIRS_BENCHMARKS) \
|
||||||
$(SUBDIRS_CHECK) \
|
$(SUBDIRS_CHECK) \
|
||||||
misc \
|
$(SUBDIRS_MISC) \
|
||||||
$(SUBDIRS_TESTS) \
|
$(SUBDIRS_TESTS) \
|
||||||
$(SUBDIRS_EXAMPLES)
|
$(SUBDIRS_EXAMPLES)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue