summaryrefslogtreecommitdiffstats
path: root/swig
diff options
context:
space:
mode:
Diffstat (limited to 'swig')
-rw-r--r--swig/Makefile.am3
-rw-r--r--swig/plist.i5
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
+};
+