X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=Makefile.am;h=cf91f0f923b624fc32b0bda0aa0128ddcc93528f;hp=b744596b1905eecf307aef95254280b2945458d3;hb=refs%2Fheads%2Fsow-2021-0002-rev1;hpb=58415b8b6071fddaa8f99c9799e9c30608dbb971 diff --git a/Makefile.am b/Makefile.am index b744596b1..cf91f0f92 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,19 +1,28 @@ -ACLOCAL_AMFLAGS = -I config +# SPDX-License-Identifier: GPL-2.0-only -SUBDIRS = common \ - liblttng-sessiond-comm \ - libkernelctl \ - liblttng-kconsumer \ - liblttng-ustconsumer \ - liblttng-consumer \ - lttng-consumerd +ACLOCAL_AMFLAGS = -I m4 -if ! BUILD_CONSUMERD_ONLY -SUBDIRS += liblttngctl \ - lttng \ - lttng-sessiond +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 + +if BUILD_EXTRAS +SUBDIRS += extras endif -SUBDIRS += tests \ - include \ - doc +dist_doc_DATA = LICENSE \ + ChangeLog \ + README.adoc + +dist_noinst_DATA = CodingStyle + +EXTRA_DIST = extras/lttng-bash_completion \ + LICENSES/BSD-2-Clause \ + LICENSES/BSD-3-Clause \ + LICENSES/GPL-2.0 \ + LICENSES/LGPL-2.1 \ + LICENSES/MIT \ + LICENSES/BSL-1.0 \ + version