db_mysql: install shared *.sql files
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Thu, 1 Oct 2009 14:51:36 +0000 (16:51 +0200)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Thu, 1 Oct 2009 14:51:36 +0000 (16:51 +0200)
modules/db_mysql/Makefile

index a1b8a8a..379fca5 100644 (file)
@@ -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" \