Module: sip-router
Branch: kamailio_3.0
Commit: 7922ddd9442e27028afae8e9d342bb31e383f624
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7922ddd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Dec 11 23:04:49 2009 +0100
db_postgres: install kamctl files
---
modules/db_postgres/Makefile | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/modules/db_postgres/Makefile b/modules/db_postgres/Makefile
index 9c578b9..03e8c27 100644
--- a/modules/db_postgres/Makefile
+++ b/modules/db_postgres/Makefile
@@ -35,3 +35,13 @@ SERLIBPATH=../../lib
SER_LIBS=$(SERLIBPATH)/srdb2/srdb2 $(SERLIBPATH)/srdb1/srdb1
include ../../Makefile.modules
+
+ifeq ($(INSTALL_FLAVOUR),kamailio)
+# extra install for kamailio
+
+install-pgsql-scripts: $(bin_prefix)/$(bin_dir)
+ PGSQLON=yes make -C ../../utils/kamctl/ install-modules
+
+install-scripts: install-pgsql-scripts
+
+endif # INSTALL_FLAVOUR