Skip to contentSkip to conversation

Fix: mark generated python bindings files as nodist

PATCH David Goulet 1 participant 1 message Mar 11, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Merged!

Thanks!

Jérémie Galarneau:

Quoted 22 lines

make dist would fail if ./configure had not been invoked with the --enable-python-bindings switch.

---
 extras/bindings/swig/python/Makefile.am | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
extras/bindings/swig/python/Makefile.am +2 -2
index c6a6901..6e7baa6 100644
@@ -4,16 +4,14 @@ lttng.i: lttng.i.in
 AM_CFLAGS = -I$(PYTHON_INCLUDE) -I$(top_srcdir)/lib/lttng-ctl -I../common \
               $(BUDDY_CFLAGS)
 
-EXTRA_DIST = lttng.i
-python_PYTHON = lttng.py
+EXTRA_DIST = lttng.i.in
+nodist_python_PYTHON = lttng.py
 pyexec_LTLIBRARIES = _lttng.la
 

extras/bindings/swig/python/Makefile.am lttng.i: lttng.i.in · line 17

Quoted 10 lines
extras/bindings/swig/python/Makefile.am +1 -3
 MAINTAINERCLEANFILES = lttng_wrap.c lttng.py
 
-_lttng_la_SOURCES = lttng_wrap.c
-
+nodist__lttng_la_SOURCES = lttng_wrap.c
 _lttng_la_LDFLAGS = -module
-
 _lttng_la_LIBADD = 	$(top_srcdir)/src/lib/lttng-ctl/liblttng-ctl.la 		\
 			$(top_srcdir)/src/common/sessiond-comm/libsessiond-comm.la
 

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev