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:
parent
28a4836e2b
commit
d821feddac
@ -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…
x
Reference in New Issue
Block a user