X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=Makefile.am;h=cf91f0f923b624fc32b0bda0aa0128ddcc93528f;hp=584f59b2e63102d1fb687a988899eb32746f4753;hb=d775b2b71d42ec52bd9a43cb51e84aa1035e1432;hpb=f7ddd24e694b77d4f0bf92967120321d24243054 diff --git a/Makefile.am b/Makefile.am index 584f59b2e..cf91f0f92 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,14 +1,28 @@ -ACLOCAL_AMFLAGS = -I config +# SPDX-License-Identifier: GPL-2.0-only -SUBDIRS = src \ - tests \ - extras \ - include \ - doc +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 + +if BUILD_EXTRAS +SUBDIRS += extras +endif dist_doc_DATA = LICENSE \ - ChangeLog + ChangeLog \ + README.adoc dist_noinst_DATA = CodingStyle -EXTRA_DIST = extras/lttng-bash_completion gpl-2.0.txt lgpl-2.1.txt +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