From 44bfcf1d7c3674b1aaa0d587bab71f892ce4bfdb Mon Sep 17 00:00:00 2001 From: cypromis Date: Sun, 20 Mar 2011 11:00:51 +0100 Subject: [PATCH] FS-3128 --- debian/freeswitch-python.install | 2 ++ debian/rules | 1 + libs/esl/Makefile | 4 +++- 3 files changed, 6 insertions(+), 1 deletion(-) 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)