mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
MDEV-14938 make buildbot to include galera into bintars
allow injecting extra files into the bintar
This commit is contained in:
parent
28a4836e2b
commit
d821feddac
2 changed files with 11 additions and 0 deletions
|
@ -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
10
cmake/cpack_tgz.cmake
Normal 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()
|
Loading…
Reference in a new issue