Cleanup: Move build logic to python-plugin-provider Makefile
[babeltrace.git] / Makefile.am
index 1d66b1d4ce6c81a88fc8208410e2f2a3b9fb01f8..76ba8249d5bd33e28086f4d390b72de1c63c6def 100644 (file)
@@ -1,31 +1,33 @@
-AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
-
 ACLOCAL_AMFLAGS = -I m4
 
-SUBDIRS =                      \
-       include                 \
+SUBDIRS = include              \
        common                  \
-       types                   \
-       compat
-
-if WITH_PYTHON_PLUGINS
-SUBDIRS += python-plugin-provider
-endif
-
-SUBDIRS +=                     \
+       ctfser                  \
+       fd-cache                \
+       compat                  \
+       logging                 \
        lib                     \
-       formats                 \
+       python-plugin-provider  \
        plugins                 \
-       converter               \
+       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.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
This page took 0.023928 seconds and 4 git commands to generate.