From 21f30edd6477e9d9ec0b4f5bba5010204d6c99e6 Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Tue, 29 Apr 2008 12:06:00 +0000 Subject: [project @ fpeters@0d.be-20071120151830-wdnobbexiv300ibb] fixed some make distcheck issues (still remaining is access to test data when srcdir != builddir) Original author: Frederic Peters Date: 2007-11-20 16:18:30.814000+01:00 --- bindings/python/Makefile.am | 6 ++++-- bindings/python/tests/Makefile.am | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'bindings/python') diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am index b2a1e99d..3b643b4a 100644 --- a/bindings/python/Makefile.am +++ b/bindings/python/Makefile.am @@ -6,10 +6,10 @@ INCLUDES = -I$(top_srcdir) \ $(SASL_CFLAGS) pythondir= $(PY_SITE_PACKAGES) -python_DATA = lasso.py +nodist_python_DATA = lasso.py python_LTLIBRARIES = _lasso.la -_lasso_la_SOURCES = _lasso.c +nodist__lasso_la_SOURCES = _lasso.c _lasso_la_CFLAGS = $(LASSO_CORE_CFLAGS) -DSWIG_COBJECT_TYPES $(PY_CFLAGS) _lasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) if DARWIN @@ -22,6 +22,8 @@ _lasso_la_LDFLAGS = -no-undefined -module -avoid-version endif endif +BUILT_SOURCES = _lasso.c + _lasso.c: $(PYTHON) $(top_srcdir)/bindings/bindings.py -l python --src-dir=$(top_srcdir)/lasso/ diff --git a/bindings/python/tests/Makefile.am b/bindings/python/tests/Makefile.am index 332ef1b2..852f3f73 100644 --- a/bindings/python/tests/Makefile.am +++ b/bindings/python/tests/Makefile.am @@ -2,3 +2,5 @@ if PYTHON_ENABLED TESTS = profiles_tests.py binding_tests.py endif +EXTRA_DIST = profiles_tests.py binding_tests.py + -- cgit