-ACLOCAL_AMFLAGS = -I config
+ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = liblttng-sessiond-comm \
- libkernelctl \
- liblttng-kconsumer \
- liblttng-ustconsumer \
- liblttng-consumer \
- lttng-consumerd
+DIST_SUBDIRS = include src extras doc tests
-if ! BUILD_CONSUMERD_ONLY
-SUBDIRS += liblttngctl \
- lttng \
- lttng-sessiond
+SUBDIRS = include src doc tests
+
+if BUILD_EXTRAS
+SUBDIRS += extras
endif
-SUBDIRS += tests \
- include \
- doc
+dist_doc_DATA = LICENSE \
+ ChangeLog \
+ README.md
+
+dist_noinst_DATA = CodingStyle
+
+EXTRA_DIST = extras/lttng-bash_completion gpl-2.0.txt lgpl-2.1.txt