summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorTodd Zullinger <tmzullinger@users.sourceforge.net>2007-01-13 12:41:22 +0000
committerTodd Zullinger <tmzullinger@users.sourceforge.net>2007-01-13 12:41:22 +0000
commit7ca831d1bfb9ac64b7c0acc7e45ee134d9e7ec40 (patch)
treed5ef99ccb50df30be715a167fb79ecb260ccc8ba /bindings
parent3b174e1263d703b6d1bc0f9b582d2f201b26b7fd (diff)
downloadlibgpod-tmz-7ca831d1bfb9ac64b7c0acc7e45ee134d9e7ec40.tar.gz
libgpod-tmz-7ca831d1bfb9ac64b7c0acc7e45ee134d9e7ec40.tar.xz
libgpod-tmz-7ca831d1bfb9ac64b7c0acc7e45ee134d9e7ec40.zip
don't include any swig built files in the tarballs.
s/SWIG_SOURCES/SWIG_INTERFACES/ to avoid a warning from automake about unused sources. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1359 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/Makefile.am11
1 files changed, 6 insertions, 5 deletions
diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
index 2e72e83..e65cf0d 100644
--- a/bindings/python/Makefile.am
+++ b/bindings/python/Makefile.am
@@ -28,22 +28,23 @@ README: README.in gpod.i
if HAVE_PYTHON
BUILT_SOURCES = gpod_wrap.c
-SWIG_SOURCES = gpod.i
+SWIG_INTERFACES = gpod.i
LIBGPOD_CFLAGS += -fno-strict-aliasing
INCLUDES = -I$(top_srcdir)/src
gpoddir = $(pyexecdir)/gpod
-gpod_PYTHON = __init__.py gpod.py gtkpod.py ipod.py
+gpod_PYTHON = __init__.py gtkpod.py ipod.py
+nodist_gpod_PYTHON = gpod.py
gpod_LTLIBRARIES = _gpod.la
-_gpod_la_SOURCES = gpod_wrap.c $(SWIG_SOURCES)
+nodist__gpod_la_SOURCES = gpod_wrap.c
_gpod_la_CPPFLAGS = $(PYTHON_INCLUDES) $(LIBGPOD_CFLAGS) $(INCLUDES)
_gpod_la_LDFLAGS = -module -avoid-version
_gpod_la_LIBADD = $(LIBGPOD_LIBS) $(top_builddir)/src/libgpod.la
-gpod_wrap.c: $(SWIG_SOURCES)
+gpod_wrap.c: $(SWIG_INTERFACES) $(nodist_gpod_PYTHON)
$(SWIG) -python $(INCLUDES) -o $@ $<
-gpod.py: $(SWIG_SOURCES)
+gpod.py: $(SWIG_INTERFACES)
$(SWIG) -python -o $@ $<
test: