summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorjcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2007-01-10 13:18:53 +0000
committerjcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2007-01-10 13:18:53 +0000
commit066fcbf1626e1726e26737433c3bd0953df19772 (patch)
treeb9e2383cd89e864223a8445538c73883fbff9505 /bindings
parent1351c9fc3923e552d24163723f0dd04a7cd5192b (diff)
downloadlibgpod-066fcbf1626e1726e26737433c3bd0953df19772.tar.gz
libgpod-066fcbf1626e1726e26737433c3bd0953df19772.tar.xz
libgpod-066fcbf1626e1726e26737433c3bd0953df19772.zip
* bindings/python/Makefile.am: correct 'make dist' failure (patch
by Todd Zullinger) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1354 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/Makefile.am16
1 files changed, 8 insertions, 8 deletions
diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
index 9373edc..b5d23f4 100644
--- a/bindings/python/Makefile.am
+++ b/bindings/python/Makefile.am
@@ -18,6 +18,14 @@ DISTCLEANFILES = \
README \
gpod.i
+README: README.in gpod.i
+ WRAPPER_LIST=`grep 'PyObject\* sw_[^_].*;' gpod.i | awk -F "[ (]" '{ print $$2 }' | sort -u | tr '\n' ' '`; \
+ sed \
+ -e "s/@WRAPPER_LIST@/$${WRAPPER_LIST}/" \
+ -e "/^sw_/ s/ $$//" \
+ -e "/^sw_/ s/ /\n/g" \
+ $< > $@
+
if HAVE_PYTHON
MODULE_CFLAGS = `$(PKG_CONFIG) --cflags $(top_builddir)/libgpod-1.0.pc` $(PYTHON_INCLUDES)
MODULE_LIBS = `$(PKG_CONFIG) --libs $(top_builddir)/libgpod-1.0.pc` -L$(top_srcdir)/src/.libs
@@ -45,14 +53,6 @@ install-pythonDATA: $(python_DATA)
uninstall-pythonDATA: $(python_DATA)
rm -rf $(DESTDIR)$(pyexecdir)/gpod
-README: README.in gpod.i
- WRAPPER_LIST=`grep 'PyObject\* sw_[^_].*;' gpod.i | awk -F "[ (]" '{ print $$2 }' | sort -u | tr '\n' ' '`; \
- sed \
- -e "s/@WRAPPER_LIST@/$${WRAPPER_LIST}/" \
- -e "/^sw_/ s/ $$//" \
- -e "/^sw_/ s/ /\n/g" \
- $< > $@
-
test:
cd tests && python tests.py
endif