Update of /cvsroot/gtkpod/libgpod/bindings/python
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv3576/bindings/python

Modified Files:
        Makefile.am 
Log Message:
don't include any swig built files in the tarballs.
s/SWIG_SOURCES/SWIG_INTERFACES/ to avoid a warning from automake about unused 
sources.


Index: Makefile.am
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/bindings/python/Makefile.am,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- Makefile.am 12 Jan 2007 10:41:46 -0000      1.16
+++ Makefile.am 13 Jan 2007 12:41:22 -0000      1.17
@@ -28,22 +28,23 @@
 
 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:


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to