summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--debian/dist/Ubuntu/mariadb-galera-server-5.5.files.in1
-rw-r--r--scripts/CMakeLists.txt16
3 files changed, 18 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 4e3d2a1e66e..b00f7dd5643 100644
--- a/.gitignore
+++ b/.gitignore
@@ -116,6 +116,7 @@ scripts/mytop
scripts/wsrep_sst_common
scripts/wsrep_sst_mysqldump
scripts/wsrep_sst_rsync
+scripts/wsrep_sst_rsync_wan
scripts/wsrep_sst_xtrabackup
scripts/wsrep_sst_xtrabackup-v2
sql-bench/bench-count-distinct
diff --git a/debian/dist/Ubuntu/mariadb-galera-server-5.5.files.in b/debian/dist/Ubuntu/mariadb-galera-server-5.5.files.in
index f921759fa84..ccfc7350ed0 100644
--- a/debian/dist/Ubuntu/mariadb-galera-server-5.5.files.in
+++ b/debian/dist/Ubuntu/mariadb-galera-server-5.5.files.in
@@ -44,6 +44,7 @@ usr/bin/resolveip
usr/bin/wsrep_sst_common
usr/bin/wsrep_sst_mysqldump
usr/bin/wsrep_sst_rsync
+usr/bin/wsrep_sst_rsync_wan
usr/bin/wsrep_sst_xtrabackup
usr/bin/wsrep_sst_xtrabackup-v2
usr/share/doc/mariadb-galera-server-5.5/mysqld.sym.gz
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index eacb516d618..da4f0d9b3bb 100644
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -374,6 +374,22 @@ ELSE()
COMPONENT ${${file}_COMPONENT}
)
ENDFOREACH()
+ SET (wsrep_sst_rsync_wan ${CMAKE_CURRENT_BINARY_DIR}/wsrep_sst_rsync_wan)
+ ADD_CUSTOM_COMMAND(
+ OUTPUT ${wsrep_sst_rsync_wan}
+ COMMAND ${CMAKE_COMMAND} ARGS -E create_symlink
+ wsrep_sst_rsync
+ wsrep_sst_rsync_wan
+ )
+ ADD_CUSTOM_TARGET(symlink_wsrep_sst_rsync
+ ALL
+ DEPENDS ${wsrep_sst_rsync_wan}
+ )
+ INSTALL(
+ FILES ${wsrep_sst_rsync_wan}
+ DESTINATION ${INSTALL_BINDIR}
+ COMPONENT Server
+ )
ENDIF()
# Install libgcc as mylibgcc.a