summaryrefslogtreecommitdiffstats
path: root/bindings/python/Makefile.am
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2008-04-29 12:06:00 +0000
committerFrederic Peters <fpeters@entrouvert.com>2008-04-29 12:06:00 +0000
commit21f30edd6477e9d9ec0b4f5bba5010204d6c99e6 (patch)
tree0b1422f6a5c597b18f04fa636f0220b3a975da6f /bindings/python/Makefile.am
parent5511b8b29d461e53008fd4f1b1ae548ff8d425cb (diff)
downloadlasso-21f30edd6477e9d9ec0b4f5bba5010204d6c99e6.tar.gz
lasso-21f30edd6477e9d9ec0b4f5bba5010204d6c99e6.tar.xz
lasso-21f30edd6477e9d9ec0b4f5bba5010204d6c99e6.zip
[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 <fpeters@0d.be> Date: 2007-11-20 16:18:30.814000+01:00
Diffstat (limited to 'bindings/python/Makefile.am')
-rw-r--r--bindings/python/Makefile.am6
1 files changed, 4 insertions, 2 deletions
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/