Commit 6ca0c6f5 authored by Jonathan Perkin's avatar Jonathan Perkin

Try to fix SVR4 packages.

parent 486c06e2
......@@ -31,14 +31,12 @@ ELSE()
SET(ini_file_extension "cnf")
ENDIF()
IF(UNIX)
IF(INSTALL_LAYOUT MATCHES "STANDALONE")
SET(inst_location ${INSTALL_SUPPORTFILESDIR})
ELSE()
# XXX: shouldn't we just have variables for all this stuff and centralise
# XXX: their configuration in install_layout.cmake?
IF(WIN32)
SET(inst_location ${INSTALL_DOCREADMEDIR})
ENDIF()
ELSE()
SET(inst_location ${INSTALL_DOCREADMEDIR})
SET(inst_location ${INSTALL_SUPPORTFILESDIR})
ENDIF()
FOREACH(inifile my-huge my-innodb-heavy-4G my-large my-medium my-small)
......@@ -48,15 +46,14 @@ FOREACH(inifile my-huge my-innodb-heavy-4G my-large my-medium my-small)
ENDFOREACH()
IF(UNIX)
# XXX: again, used elsewhere (scripts/), should be standardised in
# XXX: install_layout.cmake
IF(INSTALL_LAYOUT MATCHES "STANDALONE")
SET(prefix ".")
SET(inst_location ${INSTALL_SUPPORTFILESDIR})
ELSE()
SET(prefix ${CMAKE_INSTALL_PREFIX})
SET(inst_location ${INSTALL_MYSQLSHAREDIR})
ENDIF()
FOREACH(script mysqld_multi.server mysql-log-rotate binary-configure
config.medium.ini config.small.ini config.huge.ini ndb-config-2-node.ini)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${script}.sh
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment