Re-organize sources
[babeltrace.git] / Makefile.am
index 63613f885912907a775b99f1d6069dbcfc6ab206..745ff31e1cac9d32169c20f941a893222d9d9bba 100644 (file)
@@ -1,37 +1,22 @@
-AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
-
 ACLOCAL_AMFLAGS = -I m4
 
-SUBDIRS =                      \
-       include                 \
-       common                  \
-       compat                  \
-       logging
-
-if WITH_PYTHON_PLUGINS
-SUBDIRS += python-plugin-provider
-endif
+SUBDIRS = \
+       include \
+       src \
+       doc \
+       tests
 
-SUBDIRS +=                     \
-       lib                     \
-       plugins                 \
-       cli                     \
-       bindings                \
-       tests                   \
-       doc                     \
+# 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
+# This is a convenience target, it's not part of the build process.
+CONTRIBUTING.html: CONTRIBUTING.adoc
+       $(ASCIIDOC) --verbose -a source-highlighter=pygments $<
 
-# Create a symlink from libbabeltrace-ctf to libbabeltrace.
-# CTF writer used to be in libbabeltrace-ctf in Babeltrace 1, so this
-# file must still exist. As of Babeltrace 2, CTF writer is implemented
-# in libbabeltrace, hence the symlink.
-install-exec-hook:
-       $(LN_S) -f libbabeltrace.so $(DESTDIR)$(libdir)/libbabeltrace-ctf.so
+CLEANFILES = CONTRIBUTING.html
This page took 0.024578 seconds and 4 git commands to generate.