From 1a46027966ce7afe74955892c74a3b3b978ff9cb Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Mon, 12 Jan 2009 20:05:13 +0100 Subject: Ship SWIG interface file with dev headers. --- swig/Makefile.am | 3 +++ 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 @@ -168,4 +168,5 @@ typedef struct { plist_to_bin($self->node, &s, &l); return s; } -}; \ No newline at end of file +}; + -- cgit v1.1-32-gdbae