X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=Makefile.am;h=cf91f0f923b624fc32b0bda0aa0128ddcc93528f;hp=831ac9d29eca4dbb22470ef49925c94695eee8b3;hb=8c1d25ffa38450278c1757dfae5b6511e8be1aa7;hpb=b903e1f1807b150acb4f26508c0087bb1ea79c39 diff --git a/Makefile.am b/Makefile.am index 831ac9d29..cf91f0f92 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,28 @@ -ACLOCAL_AMFLAGS = -I config +# SPDX-License-Identifier: GPL-2.0-only -SUBDIRS = src \ - tests \ - include \ - doc +ACLOCAL_AMFLAGS = -I m4 -dist_doc_DATA = ChangeLog +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 + +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