X-Git-Url: https://git.liburcu.org/?p=lttng-tools.git;a=blobdiff_plain;f=Makefile.am;h=636296e46e7e017fde3cce19377a875687bdeb8c;hp=c6c7af5ceb92b66ad7f3e7e140a0957f1ca9e3ac;hb=HEAD;hpb=88564da09144e7fd1202fe79aff1371478a69ecf diff --git a/Makefile.am b/Makefile.am index c6c7af5ce..040d9df6c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,14 +1,27 @@ -ACLOCAL_AMFLAGS = -I config +# SPDX-License-Identifier: GPL-2.0-only -SUBDIRS = include \ - src \ - tests \ - extras \ - doc +ACLOCAL_AMFLAGS = -I m4 + +# `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 +dist_noinst_DATA = CodingStyle.md -EXTRA_DIST = extras/lttng-bash_completion gpl-2.0.txt lgpl-2.1.txt +EXTRA_DIST = extras/lttng-bash_completion \ + extras/zsh-completion \ + LICENSES/BSD-2-Clause \ + LICENSES/BSD-3-Clause \ + LICENSES/GPL-2.0 \ + LICENSES/LGPL-2.1 \ + LICENSES/MIT \ + LICENSES/BSL-1.0 \ + version