Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: jeremie.galarneau@efficios.com (Jérémie Galarneau)
Subject: [lttng-dev] [PATCH babeltrace python/bindings] Python-bindings fix: outdated dist target babeltrace.i
Date: Sat, 23 Nov 2013 16:30:59 -0500	[thread overview]
Message-ID: <1385242259-11854-1-git-send-email-jeremie.galarneau@efficios.com> (raw)
In-Reply-To: <696349360.74184.1385220360428.JavaMail.zimbra@efficios.com>

This fixes the dist target for the python bindings. The
python-complements.h/.c files must be distributed, but not installed,
in order to build the python bindings.

Signed-off-by: J?r?mie Galarneau <jeremie.galarneau at efficios.com>
---
 bindings/python/Makefile.am | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
index b25ce92..2952454 100644
--- a/bindings/python/Makefile.am
+++ b/bindings/python/Makefile.am
@@ -3,14 +3,14 @@ babeltrace.i: babeltrace.i.in
 
 AM_CFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include/
 
-EXTRA_DIST = babeltrace.i
-python_PYTHON = babeltrace.py
+EXTRA_DIST = babeltrace.i.in
+nodist_python_PYTHON = babeltrace.py
 pyexec_LTLIBRARIES = _babeltrace.la
 
 MAINTAINERCLEANFILES = babeltrace_wrap.c babeltrace.py
 
-_babeltrace_la_SOURCES = babeltrace_wrap.c python-complements.c
-
+nodist__babeltrace_la_SOURCES = babeltrace_wrap.c
+_babeltrace_la_SOURCES = python-complements.h python-complements.c
 _babeltrace_la_LDFLAGS = -module
 
 _babeltrace_la_CFLAGS = $(GLIB_CFLAGS) $(AM_CFLAGS)
-- 
1.8.4.2




  reply	other threads:[~2013-11-23 21:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-22 23:00 [lttng-dev] [PULL REQUEST babeltrace] Python bindings API refactoring Jérémie Galarneau
2013-11-23  3:29 ` Simon Marchi
2013-11-23  4:09   ` Simon Marchi
2013-11-23  6:15     ` Jérémie Galarneau
2013-11-23 15:26       ` Mathieu Desnoyers
2013-11-23 21:30         ` Jérémie Galarneau [this message]
2013-11-24  1:31           ` [lttng-dev] [PATCH babeltrace python/bindings] Python-bindings fix: outdated dist target babeltrace.i Mathieu Desnoyers
2013-11-28 18:19             ` [lttng-dev] [PATCH babeltrace python/bindings] Python-bindings fix: Out of tree build fails to find babeltrace.i Jérémie Galarneau
2013-11-29  6:21               ` Mathieu Desnoyers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1385242259-11854-1-git-send-email-jeremie.galarneau@efficios.com \
    --to=jeremie.galarneau@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox