SUBDIRS = include \
common \
+ ctfser \
+ fd-cache \
compat \
- logging
-
-if WITH_PYTHON_PLUGINS
-# Only build the Python plugin provider shared object if the
-# configuration doesn't ask to make it built-in.
-SUBDIRS += python-plugin-provider
-endif
-
-SUBDIRS += \
+ logging \
lib \
+ python-plugin-provider \
+ ctf-writer \
plugins \
cli \
bindings \
- tests \
doc \
+ tests
+
+# Directories added to EXTRA_DIST will be recursively copied to the distribution.
+EXTRA_DIST = \
extras
dist_doc_DATA = ChangeLog LICENSE mit-license.txt gpl-2.0.txt \
- std-ext-lib.txt README
+ std-ext-lib.txt README CONTRIBUTING.adoc
dist_noinst_DATA = CodingStyle
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = babeltrace.pc babeltrace-ctf.pc
+pkgconfig_DATA = babeltrace2.pc babeltrace2-ctf-writer.pc
+
+# This is a convenience target, it's not part of the build process.
+CONTRIBUTING.html: CONTRIBUTING.adoc
+ $(ASCIIDOC) --verbose -a source-highlighter=pygments $<
+
+CLEANFILES = CONTRIBUTING.html