summaryrefslogtreecommitdiff
path: root/cmake/install_layout.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '10.2' into 10.3Sergei Golubchik2018-06-301-0/+1
|\
| * fix debian packaging for tokudbSergei Golubchik2018-06-241-0/+1
| |
* | Deb: switch from usr/include/mysql to usr/include/mariadbOtto Kekäläinen2018-01-161-1/+1
|/ | | | | | | Matching libmariadb-dev package contents in official Debian repositories, the MariaDB Connector/C files should go into a folder using the 'mariadb' name. For compatibility with sources that expect to find 'mysql' stuff, create a symlink from include/mysql to include/mariadb.
* Generate and install sysusers and tmpfiles configurationChristian Hesse2017-12-201-1/+5
| | | | | | | | | | | | Using systemd we can automate creating users and directories. So generate and install the configuration files. Signed-off-by: Vicențiu Ciorbaru <vicentiu@mariadb.org> Small change in cmake/install_layout.cmake compared to original contributor patch to also install SYSTEMD_SYSUSERS and SYSTEMD_TMPFILES directories. The variables were being set, but the loop which defines the final install files was not updated.
* MDEV-9564 - added s390x to lib64 INSTALL_LIBDIR handlingSergey Vojtovich2016-02-181-1/+1
| | | | | | Adjusted INSTALL_LIBDIR detection so that it is set to "lib64" on any 64bit system (not only x86_64). New condition is insipired by GNUInstallDirs cmake module.
* MDEV-9209 - [PATCH] scripts: Do not prepend the prefix to absolute pathsSergey Vojtovich2015-12-221-0/+6
| | | | Allow absolute paths for INSTALL_*DIR.
* MDEV-427/MDEV-5713 Add systemd script with notify functionalitySergey Vojtovich2015-10-121-1/+5
| | | | After review/QA fixes.
* MDEV-5749 Please add a .pc file to MariaDB for easy use via pkg-configSergei Golubchik2014-10-021-15/+1
| | | | | | | | | | | | 1. move cflags/libs cleanup from mysql_config.sh (runtime) to for_client.cmake (build time). Include/library paths are still calculated at runtime (they depend on the location of mysql_config) 2. Use cleaned-up cflags/libs to generate mariadb.pc 3. remove obsolete @expansions@ from mysql_config (for variables that are never set in cmake files)
* introduce sysconf2dir, install tokudb.conf there, both in rpm and debSergei Golubchik2013-09-101-2/+5
|
* INSTALL_DOCUMENTATION function for CMakeLists.txtSergei Golubchik2013-09-101-4/+4
| | | | It puts files in the correct location for rpm/deb packages.
* * mariadb-tokudb-engine-5.5.debSergei Golubchik2013-09-101-2/+2
| | | | | | | | | * now only production-use server plugins are in mariadb-server. client plugins are now in libmariadbclient18, testing-only server plugins are now in mariadb-test (set Coflicts: field properly) * fix Architecture: of mariadb-test * terrible hack to support optional deb packages for optional plugins
* Fix wrong install location for DEB supportfiles.unknown2013-03-041-1/+1
|
* make rpm packages to respect CMAKE_INSTALL_PREFIXSergei Golubchik2013-02-081-1/+7
|
* mysql-5.5.29 mergeSergei Golubchik2013-01-151-2/+5
|\
| * Placement change:Joerg Bruehe2012-11-081-1/+1
| | | | | | | | | | | | | | | | | | Top level "SPECIFIC-ULN/" was inappropriate, put the files to create RPMs for ULN into "packaging/rpm-uln/".
| * Bug#14737559 BZR JOIN PLUGIN TREES INTO INTERNAL/PLUGINTor Didriksen2012-10-241-1/+4
| | | | | | | | | | | | Part three: Fix some search paths.
| * More changes to supporting the build of RPMs for ULNJoerg Bruehe2012-06-111-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the MySQL 5.5 source tree. Contrary to the comment, the spec file for these ULN RPMs was missing in the previous changeset (blame ".bzrignore"). This change now brings said spec file, and it adds cmake handling for the new files. Still for internal tool tests only, not yet ready for publishing. CMakeLists.txt: Add the subdirectory holding specific stuff for the RedHat-compatible RPMs for ULN. cmake/install_layout.cmake: Explicitly mention my the ULN RPMs are handled.
* | merge with 5.3.Sergei Golubchik2012-06-041-4/+2
| | | | | | | | Take only test cases from MDEV-136 Non-blocking "set read_only"
* | Building RPMs with CPackSergei Golubchik2012-05-221-10/+20
| | | | | | | | configure with cmake -DRPM=distro
* | lp:886550 Wrong installation path for some include files.unknown2012-04-031-2/+2
| | | | | | | | | | | | | | Now install all includes in a flat hierarchy under $PREFIX/include/mysq/, same as 5.3. User can override with -DINSTALL_INCLUDEDIR
* | Initial draft for building .deb packages for MariaDB 5.5.unknown2012-01-231-8/+8
| |
* | * remove WITH_DEBUG from CMakeLists.txtSergei Golubchik2011-12-151-1/+1
|/ | | | | | * MYSQL_MAINTAINER_MODE and SAFEMALLOC take values ON/OFF/AUTO (in all builds, in none, only in debug and platform dependent) * ./configure prefers RelWithDebInfo unless the user overrides
* Updated/added copyright headersKent Boortz2011-06-301-1/+1
|
* Followup to 12607800, testing it in PB2 didn't work, trying againBjorn Munch2011-06-011-1/+1
| | | | | Be more explicit about path to (potential) plugin tests dirs
* Bug #12607800 ADD HOOK TO INSTALL TESTS FROM IMPORTED FEATURE TREESBjorn Munch2011-06-011-1/+12
| | | | | Sets INSTALL_PLUGINTESTDIR if any plugin/*/tests exist
* Fix the .deb package prefix.Jonathan Perkin2010-11-251-2/+2
|
* Fix typo : SVR5=>SVR4Vladislav Vaintroub2010-11-101-1/+1
|
* Do not accept invalid INSTALL_LAYOUT parameterVladislav Vaintroub2010-10-111-1/+11
|
* Unset the execute bit where it's not needed.Davi Arnaut2010-07-031-0/+0
|
* Changes to build using CMake according to existing release packages:Jonathan Perkin2010-05-121-82/+167
| | | | | | | | | | | | | | | | | | | | | | | | - Update/fix file layouts for each package type, add new types for native package formats including deb, rpm and svr4. - Build all plugins, including debug versions - Update compiler flags to match current release - Add missing @VAR@ expansions - Install correct mysqclient library symlinks - Fix icc/ia64 builds - Fix install of libmysqld-debug - Don't include mysql_embedded - Remove unpackaged manual pages to avoid missing files warnings - Don't install mtr's test suite
* Bug #52149 - packaging differences in CMake buildVladislav Vaintroub2010-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Corrected some packaging bugs: - install mysqlservices library - install libmysqlclient_r.so.{16,16.0.0} as links to libmysqlclient.so - install libmysqld-debug.a - install my_safe_process, my_safe_kill and symlinks to mysql-test-run.pl (mtr, mysql-test-run) into correct place ${INSTALL_MYSQLTESTDIR} cmake/install_layout.cmake: Fix typo cmake/install_macros.cmake: Refactor INSTALL_SYMLINK to allow arbitrary symlink paths. Old version of this macro would make link extension the same as in target. This was not sufficient in some scenarios (would not allow for example libmysqlclient_r.so.16=>./libmysqlclient.so link) libmysql/CMakeLists.txt: Install extra symlinks to libmysqlclient.so (libmysqlclient_r.so.16 and libmysqlclient_r.so.16.0.0) for backward compatiblity. libmysqld/CMakeLists.txt: install libmysqld-debug.a libservices/CMakeLists.txt: install mysqlservices library mysql-test/lib/My/SafeProcess/CMakeLists.txt: install my_safe_process, my_safe_kill into correct place
* Some CMake packaging fixes:Jonathan Perkin2010-02-241-1/+1
| | | | | | | | | | | | | | | | - Remove INSTALL-BINARY from installed docs directory, we provide a copy in the root directory (but perhaps this should be revisited later). - Disable audit_null and daemon_example plugins. - Fix the docs directory. - Remove mysql-test/Makefile.in - Build and install mysql_tzinfo_to_sql - Remove share/charsets/languages.html
* In standalone package, default data subdirectory is "data", not "var"Vladislav Vaintroub2010-01-251-1/+1
|
* Handle different installation layouts.Vladislav Vaintroub2010-01-241-0/+128
using cmake option INSTALL_LAYOUT=STANDALONE would produce the layout as in tar.gz or zip packages. INSTALL_LAYOUT=UNIX will produce unixish install layout (with mysqld being in sbin subdirectory , libs in lib/mysql etc). This layout is used for RPM packages. Subtle differences in both packages unfortunately lead to the need to recompile MySQL to use with other package type - as otherwise for example default plugins or data directories would be wrong set. There are numerous other variables that allow fine-tuning packaging layout. (INSTALL_BINDIR, INSTALL_LIBDIR , INSTALL_PLUGINDIR etc). This options are different from autotools as they do not expect full paths to directories, but only subdirectory of CMAKE_INSTALL_PREFIX. There are 2 special options that expect full directory paths - MYSQL_DATADIR that defines default MYSQL data directory (autotools equivalent is --localstatedir) - SYSCONFDIR can be added to search my.cnf search path (autotools equivalent is --sysconfdir)