1
0
mirror of https://github.com/MariaDB/server.git synced 2025-04-18 21:44:20 +03:00

MDEV-14938 make buildbot to include galera into bintars

allow injecting extra files into the bintar
This commit is contained in:
Sergei Golubchik 2022-01-07 13:51:07 +01:00
parent 28a4836e2b
commit d821feddac
2 changed files with 11 additions and 0 deletions

View File

@ -394,6 +394,7 @@ IF(WITH_UNIT_TESTS)
ENDIF()
ENDIF()
INCLUDE(cpack_tgz)
INCLUDE(cpack_rpm)
INCLUDE(cpack_deb)

10
cmake/cpack_tgz.cmake Normal file
View File

@ -0,0 +1,10 @@
IF(NOT RPM AND NOT DEB)
#
# use -DEXTRA_FILES='/path/to/file=where/to/install;/bin/dd=bin;...'
#
FOREACH(f ${EXTRA_FILES})
STRING(REGEX REPLACE "=.*$" "" from ${f})
STRING(REGEX REPLACE "^.*=" "" to ${f})
INSTALL(PROGRAMS ${from} DESTINATION ${to})
ENDFOREACH()
ENDIF()