Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
44650698
Commit
44650698
authored
Jul 08, 2019
by
Michael Davis
Browse files
[upgrade-db] Adds where to find protobuf libs
And renames tool to cta-upgrade-db in line with other tools
parent
98bfc6f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
cta.spec.in
View file @
44650698
...
...
@@ -288,7 +288,7 @@ Scripts and utilities to faciliate working with the CTA catalogue
%attr(0755,root,root) %{_bindir}/cta-catalogue-schema-drop
%attr(0755,root,root) %{_bindir}/cta-catalogue-schema-verify
%attr(0755,root,root) %{_bindir}/cta-database-poll
%attr(0755,root,root) %{_bindir}/upgrade-db
%attr(0755,root,root) %{_bindir}/
cta-
upgrade-db
%attr(0644,root,root) %doc /usr/share/man/man1/cta-catalogue-admin-user-create.1cta.gz
%attr(0644,root,root) %doc /usr/share/man/man1/cta-catalogue-schema-create.1cta.gz
%attr(0644,root,root) %doc /usr/share/man/man1/cta-catalogue-schema-drop.1cta.gz
...
...
upgrade_db/CMakeLists.txt
View file @
44650698
...
...
@@ -19,7 +19,8 @@ cmake_minimum_required (VERSION 2.6)
include_directories
(
${
XRD_SSI_PB_DIR
}
/include
${
XROOTD_INCLUDE_DIR
}
${
XROOTD_INCLUDE_DIR
}
/private
)
# Upgrade DB tool
add_executable
(
upgrade-db UpgradeDB.cpp
)
target_link_libraries
(
upgrade-db ctacatalogue
)
add_executable
(
cta-upgrade-db UpgradeDB.cpp
)
target_link_libraries
(
cta-upgrade-db ctacatalogue
)
set_property
(
TARGET cta-upgrade-db APPEND PROPERTY INSTALL_RPATH
${
PROTOBUF3_RPATH
}
)
install
(
TARGETS upgrade-db DESTINATION usr/bin
)
install
(
TARGETS
cta-
upgrade-db DESTINATION usr/bin
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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