summaryrefslogtreecommitdiffstats
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
commit3919e1811db95193ecc697ede200a02562747039 (patch)
treed5ef99ccb50df30be715a167fb79ecb260ccc8ba
parent826d31e2b81701460578f86d2f26c7ddf0333773 (diff)
downloadlibgpod-3919e1811db95193ecc697ede200a02562747039.tar.gz
libgpod-3919e1811db95193ecc697ede200a02562747039.tar.xz
libgpod-3919e1811db95193ecc697ede200a02562747039.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
-rw-r--r--ChangeLog7
-rw-r--r--bindings/python/Makefile.am11
2 files changed, 13 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 41067d7..1df7640 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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: