diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-06-15 18:27:30 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-06-17 12:26:26 +0200 |
commit | 306e439c6d19b578fdd12b640a6f9a81ed2737e1 (patch) | |
tree | c342ad9d3d7e9089fd72e652331f7abe6e3711ca /man | |
parent | 24503d5711677ce77617e3ff2514a4838e95eac7 (diff) | |
download | mariadb-git-306e439c6d19b578fdd12b640a6f9a81ed2737e1.tar.gz |
MDEV-17592 Create MariaDB named commands/symlinks
post-merge fixes:
* .gitignore
* don't put the keyword COMPONENT into ${COMP} anymore
* don't alias mytop, but do alias mysql_client_test
* don't symlink manpages, use troff aliasing technique instead
(symlinked manpages break rpm and out-of-source bintar builds)
* move debian to use troff aliased manpages, fix typos in debian files,
put aliases in the correct packages, add more aliases to match
rpm/bintar packaging
Diffstat (limited to 'man')
-rw-r--r-- | man/CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt index c89d156718d..9ceda0c4c33 100644 --- a/man/CMakeLists.txt +++ b/man/CMakeLists.txt @@ -77,9 +77,10 @@ macro(MARIADB_SYMLINK_MANPAGE) endmacro(MARIADB_SYMLINK_MANPAGE) macro(MARIADB_SYMLINK_MANPAGE_CREATE mysqlname index mannr dir comp) - list(GET MARIADB_SYMLINK_TOS ${index} _mariadbname) - set(symlinkname "${_mariadbname}.${mannr}") - CREATE_MARIADB_SYMLINK_IN_DIR(${mysqlname}.${mannr} ${symlinkname} ${INSTALL_MANDIR}/${dir} ${comp}) + LIST(GET MARIADB_SYMLINK_TOS ${index} _mariadbname) + SET(dest "${CMAKE_CURRENT_BINARY_DIR}/${_mariadbname}.${mannr}") + FILE(WRITE ${dest} ".so ${mysqlname}.${mannr}") + INSTALL(FILES ${dest} DESTINATION ${INSTALL_MANDIR}/${dir} COMPONENT ${comp}) endmacro(MARIADB_SYMLINK_MANPAGE_CREATE) MARIADB_SYMLINK_MANPAGE() |