-EXTRA_DIST = manual man/ustctl.1 man/ustd.1 man/usttrace.1
-man_MANS = man/ustctl.1 man/ustd.1 man/usttrace.1
+# SPDX-License-Identifier: LGPL-2.1-only
+
+SUBDIRS = . man
+
+if ENABLE_EXAMPLES
+SUBDIRS += examples
+endif
+
+dist_doc_DATA = java-agent.txt