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
423daa45
Commit
423daa45
authored
Mar 19, 2010
by
Jonathan Perkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First cut at SVR4 layout.
parent
f56e58ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletion
+22
-1
cmake/install_layout.cmake
cmake/install_layout.cmake
+22
-1
No files found.
cmake/install_layout.cmake
View file @
423daa45
...
...
@@ -53,6 +53,8 @@ CACHE STRING "Installation directory layout. Options are: STANDALONE (as in zip
IF
(
NOT INSTALL_LAYOUT MATCHES
"STANDALONE"
)
IF
(
NOT INSTALL_LAYOUT MATCHES
"UNIX"
)
# XXX not keen on this, how many more will we need? prefer to just bail...
IF
(
NOT INSTALL_LAYOUT MATCHES
"SVR4"
)
SET
(
INSTALL_LAYOUT
"
${
DEFAULT_INSTALL_LAYOUT
}
"
)
ENDIF
()
ENDIF
()
...
...
@@ -60,6 +62,8 @@ ENDIF()
IF
(
UNIX
)
IF
(
INSTALL_LAYOUT MATCHES
"UNIX"
)
SET
(
default_prefix
"/usr"
)
ELSEIF
(
INSTALL_LAYOUT MATCHES
"SVR4"
)
SET
(
default_prefix
"/opt/mysql/mysql"
)
ELSE
()
SET
(
default_prefix
"/usr/local/mysql"
)
ENDIF
()
...
...
@@ -91,6 +95,23 @@ ENDIF()
SET
(
INSTALL_SUPPORTFILESDIR_STANDALONE
"support-files"
)
SET
(
INSTALL_MYSQLDATADIR_STANDALONE
"data"
)
# SVR4 layout
SET
(
INSTALL_BINDIR_SVR4
"bin"
)
SET
(
INSTALL_SBINDIR_SVR4
"bin"
)
SET
(
INSTALL_LIBDIR_SVR4
"lib"
)
SET
(
INSTALL_INCLUDEDIR_SVR4
"include"
)
SET
(
INSTALL_PLUGINDIR_SVR4
"lib/plugin"
)
SET
(
INSTALL_DOCDIR_SVR4
"docs"
)
SET
(
INSTALL_MANDIR_SVR4
"man"
)
SET
(
INSTALL_MYSQLSHAREDIR_SVR4
"share"
)
SET
(
INSTALL_SHAREDIR_SVR4
"share"
)
SET
(
INSTALL_SCRIPTDIR_SVR4
"scripts"
)
SET
(
INSTALL_MYSQLTESTDIR_SVR4
"mysql-test"
)
SET
(
INSTALL_SQLBENCHROOTDIR_SVR4
"."
)
SET
(
INSTALL_DOCREADMEDIR_SVR4
"."
)
SET
(
INSTALL_SUPPORTFILESDIR_SVR4
"support-files"
)
SET
(
MYSQL_DATADIR
"/var/lib/mysql"
)
# UNIX layout
SET
(
INSTALL_BINDIR_UNIX
"bin"
)
SET
(
INSTALL_SBINDIR_UNIX
"sbin"
)
...
...
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