diff options
author | Filippo Argiolas <filippo.argiolas@gmail.com> | 2009-07-14 23:31:02 +0200 |
---|---|---|
committer | Filippo Argiolas <filippo.argiolas@gmail.com> | 2009-07-14 23:31:02 +0200 |
commit | 74a2b04435b27e5a1d4f9cdead04df5420d51486 (patch) | |
tree | 82e433b83d992fc6ee31ac3906c9c7c4a67189de /tests | |
parent | 93f16ed9fa40b680191b7e1ea530116be09f3511 (diff) |
build: don't build examples if explicitly disabled
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 913a53f..065439f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1 +1,17 @@ -SUBDIRS = check icles examples +if HAVE_GST_CHECK +SUBDIRS_CHECK = check +else +SUBDIRS_CHECK = +endif + +if BUILD_EXAMPLES +SUBDIR_EXAMPLES = examples +else +SUBDIR_EXAMPLES = +endif + +SUBDIRS_ICLES = icles + +SUBDIRS = $(SUBDIRS_CHECK) $(SUBDIRS_ICLES) $(SUBDIR_EXAMPLES) + +DIST_SUBDIRS = check icles examples |