-SUBDIRS = . examples
+# SPDX-License-Identifier: LGPL-2.1-only
-dist_man_MANS = man/lttng-gen-tp.1 \
- man/lttng-ust.3 \
- man/lttng-ust-cyg-profile.3
+SUBDIRS = . man
+
+if ENABLE_EXAMPLES
+SUBDIRS += examples
+endif
+
+dist_doc_DATA = java-agent.txt