-SUBDIRS = . examples
+SUBDIRS = . man
-dist_man_MANS = man/lttng-gen-tp.1 \
- man/lttng-ust.3 \
- man/lttng-ust-dl.3 \
- man/lttng-ust-cyg-profile.3
+if ENABLE_EXAMPLES
+SUBDIRS += examples
+endif
-dist_doc_DATA = java-util-logging.txt
+dist_doc_DATA = java-agent.txt