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
b462a3e0
Commit
b462a3e0
authored
Mar 25, 2010
by
Jonathan Perkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't install documentation when INSTALL_LAYOUT=RPM, as the spec file
prefers to take docs directly from the source tree.
parent
651aeb62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
17 deletions
+24
-17
CMakeLists.txt
CMakeLists.txt
+22
-15
cmake/install_layout.cmake
cmake/install_layout.cmake
+2
-2
No files found.
CMakeLists.txt
View file @
b462a3e0
...
@@ -274,21 +274,28 @@ ELSE()
...
@@ -274,21 +274,28 @@ ELSE()
SET
(
CPACK_GENERATOR
"TGZ"
)
SET
(
CPACK_GENERATOR
"TGZ"
)
ENDIF
()
ENDIF
()
INCLUDE
(
CPack
)
INCLUDE
(
CPack
)
INSTALL
(
FILES COPYING EXCEPTIONS-CLIENT LICENSE.mysql DESTINATION
${
INSTALL_DOCREADMEDIR
}
OPTIONAL
)
INSTALL
(
FILES README DESTINATION
${
INSTALL_DOCREADMEDIR
}
)
IF
(
UNIX
)
IF
(
UNIX
)
INSTALL
(
FILES Docs/mysql.info DESTINATION
${
INSTALL_INFODIR
}
)
INSTALL
(
FILES Docs/mysql.info DESTINATION
${
INSTALL_INFODIR
}
)
INSTALL
(
FILES Docs/INSTALL-BINARY DESTINATION
${
INSTALL_DOCREADMEDIR
}
)
ENDIF
()
ENDIF
()
# MYSQL_DOCS_LOCATON is used in "make dist", points to the documentation directory
#
SET
(
MYSQL_DOCS_LOCATION
""
CACHE PATH
"Location from where documentation is copied"
)
# RPM installs documentation directly from the source tree
MARK_AS_ADVANCED
(
MYSQL_DOCS_LOCATION
)
#
INSTALL
(
DIRECTORY Docs/ DESTINATION
${
INSTALL_DOCDIR
}
IF
(
NOT INSTALL_LAYOUT MATCHES
"RPM"
)
PATTERN
"INSTALL-BINARY"
EXCLUDE
INSTALL
(
FILES COPYING EXCEPTIONS-CLIENT LICENSE.mysql DESTINATION
${
INSTALL_DOCREADMEDIR
}
OPTIONAL
)
PATTERN
"Makefile.*"
EXCLUDE
INSTALL
(
FILES README DESTINATION
${
INSTALL_DOCREADMEDIR
}
)
PATTERN
"glibc*"
EXCLUDE
IF
(
UNIX
)
PATTERN
"linuxthreads.txt"
EXCLUDE
INSTALL
(
FILES Docs/INSTALL-BINARY DESTINATION
${
INSTALL_DOCREADMEDIR
}
)
PATTERN
"myisam.txt"
EXCLUDE
ENDIF
()
PATTERN
"mysql.info"
EXCLUDE
# MYSQL_DOCS_LOCATON is used in "make dist", points to the documentation directory
PATTERN
"sp-imp-spec.txt"
EXCLUDE
SET
(
MYSQL_DOCS_LOCATION
""
CACHE PATH
"Location from where documentation is copied"
)
)
MARK_AS_ADVANCED
(
MYSQL_DOCS_LOCATION
)
INSTALL
(
DIRECTORY Docs/ DESTINATION
${
INSTALL_DOCDIR
}
PATTERN
"INSTALL-BINARY"
EXCLUDE
PATTERN
"Makefile.*"
EXCLUDE
PATTERN
"glibc*"
EXCLUDE
PATTERN
"linuxthreads.txt"
EXCLUDE
PATTERN
"myisam.txt"
EXCLUDE
PATTERN
"mysql.info"
EXCLUDE
PATTERN
"sp-imp-spec.txt"
EXCLUDE
)
ENDIF
()
cmake/install_layout.cmake
View file @
b462a3e0
...
@@ -121,8 +121,8 @@ ENDIF()
...
@@ -121,8 +121,8 @@ ENDIF()
SET
(
INSTALL_SBINDIR_RPM
"sbin"
)
SET
(
INSTALL_SBINDIR_RPM
"sbin"
)
SET
(
INSTALL_SHAREDIR_RPM
"share"
)
SET
(
INSTALL_SHAREDIR_RPM
"share"
)
#
#
SET
(
INSTALL_DOCDIR_RPM
"
${
INSTALL_SHAREDIR_RPM
}
/mysql/doc/MySQL-server-
${
MYSQL_NO_DASH_VERSION
}
"
)
#SET(INSTALL_DOCDIR_RPM "XXXunset
")
SET
(
INSTALL_DOCREADMEDIR_RPM
"
${
INSTALL_DOCDIR_RPM
}
"
)
#SET(INSTALL_DOCREADMEDIR_RPM
"${INSTALL_DOCDIR_RPM}")
SET
(
INSTALL_INFODIR_RPM
"
${
INSTALL_SHAREDIR_RPM
}
/info"
)
SET
(
INSTALL_INFODIR_RPM
"
${
INSTALL_SHAREDIR_RPM
}
/info"
)
SET
(
INSTALL_MANDIR_RPM
"
${
INSTALL_SHAREDIR_RPM
}
/man"
)
SET
(
INSTALL_MANDIR_RPM
"
${
INSTALL_SHAREDIR_RPM
}
/man"
)
SET
(
INSTALL_MYSQLDATADIR_RPM
"var"
)
SET
(
INSTALL_MYSQLDATADIR_RPM
"var"
)
...
...
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