From: cypromis Date: Sun, 20 Mar 2011 10:00:51 +0000 (+0100) Subject: FS-3128 X-Git-Tag: v1.2-rc1~171^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44bfcf1d7c3674b1aaa0d587bab71f892ce4bfdb;p=thirdparty%2Ffreeswitch.git FS-3128 --- diff --git a/debian/freeswitch-python.install b/debian/freeswitch-python.install index 2773f0c780..247c26d672 100644 --- a/debian/freeswitch-python.install +++ b/debian/freeswitch-python.install @@ -1,3 +1,5 @@ opt/freeswitch/conf/autoload_configs/python.conf.xml opt/freeswitch/mod/mod_python.so* usr/lib/python2.*/*-packages/freeswitch.py* +usr/lib/python2.*/*-packages/ESL.py* +usr/lib/python2.*/*-packages/_ESL.so* diff --git a/debian/rules b/debian/rules index 94aee73a00..0490d546f4 100755 --- a/debian/rules +++ b/debian/rules @@ -208,6 +208,7 @@ install: build dh_installdirs -A VERBOSE=1 $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + cd libs/esl && VERBOSE=1 $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install && cd - # Build architecture-independent files here. diff --git a/libs/esl/Makefile b/libs/esl/Makefile index 7363304cdb..da7926d49b 100644 --- a/libs/esl/Makefile +++ b/libs/esl/Makefile @@ -16,7 +16,9 @@ SOLINK=-shared -Xlinker -x # comment the next line to disable c++ (no swig mods for you then) OBJS += src/esl_oop.o -all: $(MYLIB) fs_cli testclient testserver ivrd +all: $(MYLIB) fs_cli testclient testserver ivrd pymod + +install: pymod-install $(MYLIB): $(OBJS) $(HEADERS) $(SRC) ar rcs $(MYLIB) $(OBJS)