X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=Makefile.am;h=552fe510b33363fad4dadf950c7c3d4ef537260f;hp=7b2a23f0da3c7b529f8d10451b9f60e506b6cec2;hb=14c4262b940630bbb75f68b8c2eaef2b134a62d9;hpb=b7d2e95f49f3b34c9f00a0fb4d9de10bba056180 diff --git a/Makefile.am b/Makefile.am index 7b2a23f0d..552fe510b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,12 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = include \ - src \ - tests \ - extras \ - doc +DIST_SUBDIRS = include doc src extras tests + +SUBDIRS = include doc src tests + +if BUILD_EXTRAS +SUBDIRS += extras +endif dist_doc_DATA = LICENSE \ ChangeLog \ @@ -12,4 +14,5 @@ dist_doc_DATA = LICENSE \ dist_noinst_DATA = CodingStyle -EXTRA_DIST = extras/lttng-bash_completion gpl-2.0.txt lgpl-2.1.txt +EXTRA_DIST = extras/lttng-bash_completion gpl-2.0.txt lgpl-2.1.txt \ + version