diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | bindings/python/Makefile.am | 11 |
2 files changed, 13 insertions, 5 deletions
@@ -1,3 +1,10 @@ +2007-01-13 Todd Zullinger <tmzullinger at users.sourceforge.net> + + * bindings/python/Makefile.am: don't include any swig built + files in the tarballs. + s/SWIG_SOURCES/SWIG_INTERFACES/ to avoid a warning from + automake about unused sources. + 2007-01-12 Todd Zullinger <tmzullinger at users.sourceforge.net> * src/itdb_itunesdb.c: TV shows patch from Mario Rossi 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: |