Module: sip-router
Branch: master
Commit: c7683811e99d30c95b0dfeaeeeee446cb6533d78
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c768381…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Thu Oct 1 16:51:36 2009 +0200
db_mysql: install shared *.sql files
---
modules/db_mysql/Makefile | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/db_mysql/Makefile b/modules/db_mysql/Makefile
index a1b8a8a..379fca5 100644
--- a/modules/db_mysql/Makefile
+++ b/modules/db_mysql/Makefile
@@ -21,6 +21,9 @@ LIBS=-L/usr/lib/mysql -L$(LOCALBASE)/lib -L$(LOCALBASE)/lib/mysql \
SERLIBPATH=../../lib
SER_LIBS=$(SERLIBPATH)/srdb2/srdb2 $(SERLIBPATH)/srdb1/srdb1
+MOD_INSTALL_SHARE= ../../scripts/mysql/my_create.sql \
+ ../../scripts/mysql/my_data.sql \
+ ../../scripts/mysql/my_drop.sql
install-mysql-script: $(bin_prefix)/$(bin_dir)
sed -e
"s#^DEFAULT_SCRIPT_DIR.*#DEFAULT_SCRIPT_DIR=\"$(share_prefix)/$(share_dir)\"#g"
\