https://bugzilla.gnome.org/show_bug.cgi?id=770740
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
if BUILD_EXAMPLES
SUBDIRS_EXAMPLES = examples
+SUBDIRS_MISC = misc
else
SUBDIRS_EXAMPLES =
endif
SUBDIRS = \
$(SUBDIRS_BENCHMARKS) \
$(SUBDIRS_CHECK) \
- misc \
+ $(SUBDIRS_MISC) \
$(SUBDIRS_TESTS) \
$(SUBDIRS_EXAMPLES)