Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f10be5b6
Commit
f10be5b6
authored
Mar 23, 2010
by
Jonathan Perkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First cut at -DINSTALL_LAYOUT=DEB support.
parent
912708c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
cmake/install_layout.cmake
cmake/install_layout.cmake
+24
-0
No files found.
cmake/install_layout.cmake
View file @
f10be5b6
...
@@ -25,6 +25,9 @@
...
@@ -25,6 +25,9 @@
# RPM
# RPM
# Build as per default RPM layout, with prefix=/usr
# Build as per default RPM layout, with prefix=/usr
#
#
# DEB
# Build as per STANDALONE, prefix=/opt/mysql-$major.$minor
#
# SVR4
# SVR4
# Solaris package layout suitable for pkg* tools, prefix=/opt/mysql/mysql
# Solaris package layout suitable for pkg* tools, prefix=/opt/mysql/mysql
#
#
...
@@ -69,6 +72,10 @@ CACHE STRING "Installation directory layout. Options are: STANDALONE (as in zip
...
@@ -69,6 +72,10 @@ CACHE STRING "Installation directory layout. Options are: STANDALONE (as in zip
IF
(
UNIX
)
IF
(
UNIX
)
IF
(
INSTALL_LAYOUT MATCHES
"RPM"
)
IF
(
INSTALL_LAYOUT MATCHES
"RPM"
)
SET
(
default_prefix
"/usr"
)
SET
(
default_prefix
"/usr"
)
ELSEIF
(
INSTALL_LAYOUT MATCHES
"DEB"
)
SET
(
default_prefix
"/opt/
${
MYSQL_BASE_VERSION
}
"
)
# This is required to avoid "cpack -GDEB" default of prefix=/usr
SET
(
CPACK_SET_DESTDIR ON
)
ELSEIF
(
INSTALL_LAYOUT MATCHES
"SVR4"
)
ELSEIF
(
INSTALL_LAYOUT MATCHES
"SVR4"
)
SET
(
default_prefix
"/opt/mysql/mysql"
)
SET
(
default_prefix
"/opt/mysql/mysql"
)
ELSE
()
ELSE
()
...
@@ -121,6 +128,23 @@ SET(INSTALL_DOCREADMEDIR_RPM "share/mysql/doc/MySQL-server-${MYSQL_NO_DASH_VERSI
...
@@ -121,6 +128,23 @@ SET(INSTALL_DOCREADMEDIR_RPM "share/mysql/doc/MySQL-server-${MYSQL_NO_DASH_VERSI
SET
(
INSTALL_SUPPORTFILESDIR_RPM
"share/mysql"
)
SET
(
INSTALL_SUPPORTFILESDIR_RPM
"share/mysql"
)
SET
(
INSTALL_MYSQLDATADIR_RPM
"var"
)
SET
(
INSTALL_MYSQLDATADIR_RPM
"var"
)
# DEB layout
SET
(
INSTALL_BINDIR_DEB
"bin"
)
SET
(
INSTALL_SBINDIR_DEB
"bin"
)
SET
(
INSTALL_LIBDIR_DEB
"lib"
)
SET
(
INSTALL_INCLUDEDIR_DEB
"include"
)
SET
(
INSTALL_PLUGINDIR_DEB
"lib/plugin"
)
SET
(
INSTALL_DOCDIR_DEB
"docs"
)
SET
(
INSTALL_MANDIR_DEB
"man"
)
SET
(
INSTALL_MYSQLSHAREDIR_DEB
"share"
)
SET
(
INSTALL_SHAREDIR_DEB
"share"
)
SET
(
INSTALL_SCRIPTDIR_DEB
"scripts"
)
SET
(
INSTALL_MYSQLTESTDIR_DEB
"mysql-test"
)
SET
(
INSTALL_SQLBENCHROOTDIR_DEB
"."
)
SET
(
INSTALL_DOCREADMEDIR_DEB
"."
)
SET
(
INSTALL_SUPPORTFILESDIR_DEB
"support-files"
)
SET
(
INSTALL_MYSQLDATADIR_DEB
"data"
)
# SVR4 layout
# SVR4 layout
SET
(
INSTALL_BINDIR_SVR4
"bin"
)
SET
(
INSTALL_BINDIR_SVR4
"bin"
)
SET
(
INSTALL_SBINDIR_SVR4
"bin"
)
SET
(
INSTALL_SBINDIR_SVR4
"bin"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment