[ltt-dev] [PATCH] Fix problem with including libringbuffer/smp.h in make-dist

Gregory Haskins gregory.haskins at gmail.com
Mon Nov 7 09:12:50 EST 2011


"make dist" currently produces a tarball that is missing librinbuffer/smp.h, resulting in
a build failure when an attempt to compile the tarball is make.  This patch addresses
the issue by properly including the file in Makefile.am.

Signed-off-by: Gregory Haskins <gregory.haskins at gmail.com>
---

 libringbuffer/Makefile.am |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/libringbuffer/Makefile.am b/libringbuffer/Makefile.am
index a64ee6e..f1e8a97 100644
--- a/libringbuffer/Makefile.am
+++ b/libringbuffer/Makefile.am
@@ -4,10 +4,8 @@ AM_CFLAGS = -fno-strict-aliasing
 noinst_LTLIBRARIES = libringbuffer.la
 
 libringbuffer_la_SOURCES = \
-	shm.c \
-	shm.h \
-	smp.c \
-	shm.h shm_types.h shm_internal.h \
+	smp.h smp.c \
+	shm.c shm.h shm_types.h shm_internal.h \
 	ring_buffer_backend.c \
 	ring_buffer_frontend.c \
 	api.h \





More information about the lttng-dev mailing list