diff options
| author | 2009-01-12 20:05:13 +0100 | |
|---|---|---|
| committer | 2009-01-12 20:05:13 +0100 | |
| commit | 1a46027966ce7afe74955892c74a3b3b978ff9cb (patch) | |
| tree | 40bc6fa240d3361e5aac37b066f5f2b30302f3af | |
| parent | c0c27eb5dc9c9f77cd5d500f36641647ee508d15 (diff) | |
| download | libplist-1a46027966ce7afe74955892c74a3b3b978ff9cb.tar.gz libplist-1a46027966ce7afe74955892c74a3b3b978ff9cb.tar.bz2  | |
Ship SWIG interface file with dev headers.
| -rw-r--r-- | swig/Makefile.am | 3 | ||||
| -rw-r--r-- | swig/plist.i | 5 | 
2 files changed, 6 insertions, 2 deletions
diff --git a/swig/Makefile.am b/swig/Makefile.am index 2e5b280..1b3b4a2 100644 --- a/swig/Makefile.am +++ b/swig/Makefile.am @@ -3,6 +3,9 @@ INCLUDES = -I$(top_srcdir)/include  BUILT_SOURCES = $(srcdir)/plist_wrap.c  SWIG_SOURCES = plist.i  +swigincludedir =$(includedir)/plist/swig +swiginclude_HEADERS = $(SWIG_SOURCES) +  pkgpython_PYTHON = PList.py __init__.py  pkgpyexec_LTLIBRARIES = _PList.la  _PList_la_SOURCES = $(srcdir)/plist_wrap.c $(SWIG_SOURCES) diff --git a/swig/plist.i b/swig/plist.i index 78f102f..f4e6df4 100644 --- a/swig/plist.i +++ b/swig/plist.i @@ -1,5 +1,5 @@   /* swig.i */ - %module PList + %module(package="libplist") PList   %{   /* Includes the header in the wrapper code */   #include <plist/plist.h> @@ -168,4 +168,5 @@ typedef struct {  		plist_to_bin($self->node, &s, &l);  		return s;  	} -};
\ No newline at end of file +}; +  | 
