File: cpack_tgz.cmake

package info (click to toggle)
mariadb 1%3A11.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 751,464 kB
  • sloc: ansic: 2,379,814; cpp: 1,690,098; asm: 378,311; perl: 63,123; sh: 45,397; pascal: 40,393; java: 33,919; yacc: 19,913; python: 19,248; sql: 17,838; xml: 12,463; ruby: 8,544; cs: 5,855; makefile: 5,719; ada: 1,700; lex: 1,193; javascript: 1,039; objc: 80; tcl: 73; awk: 46; php: 22
file content (10 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
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()