From automake's documentation[1] :
If SUBDIRS is defined conditionally using Automake conditionals,
Automake will define DIST_SUBDIRS automatically from the possible
values of SUBDIRS in all conditions.
[1] https://www.gnu.org/software/automake/manual/html_node/SUBDIRS-vs-DIST_005fSUBDIRS.html
Change-Id: I8495f1f4452ccde4920ecd63bfd37de4eb10c281
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
ACLOCAL_AMFLAGS = -I m4
-DIST_SUBDIRS = include doc src extras tests doc/examples
-
# `doc/examples` is placed last since it requires artifact from `src` and
# `src` can require artifact from `doc` (--enable-embedded-help).
SUBDIRS = include doc src tests doc/examples
# SPDX-License-Identifier: GPL-2.0-only
-ACLOCAL_AMFLAGS = -I config
-
SUBDIRS =
-# Make sure to always distribute all folders
-# since SUBDIRS is decided at configure time.
-DIST_SUBDIRS = lttng-consumerd lttng lttng-sessiond lttng-relayd \
- lttng-crash
-
if BUILD_BIN_LTTNG
SUBDIRS += lttng
endif
SUBDIRS =
-DIST_SUBDIRS = lttng-ctl
-
if BUILD_LIB_LTTNG_CTL
SUBDIRS += lttng-ctl
endif
# SPDX-License-Identifier: GPL-2.0-only
SUBDIRS =
-DIST_SUBDIRS = utils unit regression stress destructive perf
if BUILD_TESTS
SUBDIRS += . utils unit regression stress destructive perf