summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorEmmanuel Raviart <eraviart@entrouvert.com>2005-06-15 15:06:07 +0000
committerEmmanuel Raviart <eraviart@entrouvert.com>2005-06-15 15:06:07 +0000
commit9959f834ca55a071a27255dab5a677ba9060fa77 (patch)
tree778c4c21c61cfddef07bf94885e8b35dcacc5ab4 /python
parent71b8859e40342c018029314a3b06a1cf2bdf51ce (diff)
downloadlasso-9959f834ca55a071a27255dab5a677ba9060fa77.tar.gz
lasso-9959f834ca55a071a27255dab5a677ba9060fa77.tar.xz
lasso-9959f834ca55a071a27255dab5a677ba9060fa77.zip
Removed now useless sed script (now done by Swig).
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am4
1 files changed, 0 insertions, 4 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 3dbf2047..12eaa300 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -21,9 +21,6 @@ lasso_wrap.c lasso.py: $(top_srcdir)/swig/Lasso.i $(top_srcdir)/swig/Lasso-wsf.i
$(top_srcdir)/swig/inheritance.h
$(SWIG) -v -python -module lasso -o lasso_wrap.c $(top_srcdir)/swig/Lasso.i
cp lasso_wrap.c lasso_wrap.c.bak
- sed -e 's/free(result)/g_free(result)/' \
- < lasso_wrap.c.bak > lasso_wrap.c
- cp lasso_wrap.c lasso_wrap.c.bak
sed -e 's/^ int res = 0;$$//' \
< lasso_wrap.c.bak > lasso_wrap.c
cp lasso_wrap.c lasso_wrap.c.bak
@@ -33,7 +30,6 @@ lasso_wrap.c lasso.py: $(top_srcdir)/swig/Lasso.i $(top_srcdir)/swig/Lasso-wsf.i
grep -q "int res =" lasso_wrap.c || \
sed -e 's/if (obj == Py_True) /int res = 0; if (obj == Py_True) /' \
< lasso_wrap.c.bak > lasso_wrap.c
-
SWIG_OUTPUTS = lasso_wrap.c lasso.py