-SUBDIRS = bindings
+SUBDIRS = bindings images
+
+if ENABLE_API_DOC
+SUBDIRS += api
+endif
dist_man_MANS = babeltrace.1 babeltrace-log.1
-dist_doc_DATA = API.txt lttng-live.txt
+dist_doc_DATA = API.txt lttng-live.txt ref-counting.md
EXTRA_DIST = development.txt