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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
493ee9d3
Commit
493ee9d3
authored
Jan 15, 2010
by
Kent Boortz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for product names in package names
parent
4e04b863
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
cmake/mysql_version.cmake
cmake/mysql_version.cmake
+12
-3
No files found.
cmake/mysql_version.cmake
View file @
493ee9d3
...
...
@@ -122,10 +122,19 @@ IF(NOT CPACK_PACKAGE_FILE_NAME)
ENDIF
()
ENDIF
()
SET
(
package_name
"mysql-
${
VERSION
}
-
${
SYSTEM_NAME_AND_PROCESSOR
}
"
)
# Sometimes package suffix is added (something like icc-glibc23)
IF
(
SHORT_PRODUCT_TAG
)
SET
(
PRODUCT_TAG
"-
${
SHORT_PRODUCT_TAG
}
"
)
ELSEIF
(
MYSQL_SERVER_SUFFIX
)
SET
(
PRODUCT_TAG
"
${
MYSQL_SERVER_SUFFIX
}
"
)
# Already has a leading dash
ELSE
()
SET
(
PRODUCT_TAG
)
ENDIF
()
SET
(
package_name
"mysql
${
PRODUCT_TAG
}
-
${
VERSION
}
-
${
SYSTEM_NAME_AND_PROCESSOR
}
"
)
# Sometimes package suffix is added (something like "-icc-glibc23")
IF
(
PACKAGE_SUFFIX
)
SET
(
package_name
"
${
package_name
}
-
${
PACKAGE_SUFFIX
}
"
)
SET
(
package_name
"
${
package_name
}${
PACKAGE_SUFFIX
}
"
)
ENDIF
()
STRING
(
TOLOWER
${
package_name
}
package_name
)
SET
(
CPACK_PACKAGE_FILE_NAME
${
package_name
}
)
...
...
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