Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
12114668
Commit
12114668
authored
11 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
Added the rules to install the man pages of libcastortape.so
parent
91e30489
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+8
-5
8 additions, 5 deletions
CMakeLists.txt
tape/CMakeLists.txt
+9
-0
9 additions, 0 deletions
tape/CMakeLists.txt
with
17 additions
and
5 deletions
CMakeLists.txt
+
8
−
5
View file @
12114668
...
...
@@ -50,7 +50,7 @@ include_directories(${CMAKE_SOURCE_DIR}/h})
set
(
CASTOR_DEST_BIN_DIR /usr/bin
)
set
(
CASTOR_DEST_LIB_DIR /usr/lib64
)
set
(
CASTOR_DEST_MAN_DIR /usr/shar/man
)
set
(
CASTOR_DEST_MAN_DIR /usr/shar
e
/man
)
# All common variables and values to be used by all CMakeLists.txt files should
# be specified here
...
...
@@ -66,7 +66,7 @@ endif(APPLE)
set
(
CMAKE_CXX_FLAGS
${
CMAKE_C_FLAGS
}
)
set_property
(
DIRECTORY PROPERTY COMPILE_DEFINITIONS _LARGEFILE64_SOURCE
)
set_property
(
DIRECTORY PROPERTY COMPILE_DEFINITIONS _LARGEFILE64_SOURCE
)
# Generate the compilation variables, if needed
if
(
NOT DEFINED COMPILE_CLIENT
)
...
...
@@ -93,12 +93,15 @@ add_subdirectory (vmgr)
################################################################################
include
(
cmake/UseRPMToolsEnvironment.cmake
)
set
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"
${
PROJECT_NAME
}
-
${
CASTOR_VERSION
}
-
${
CASTOR_RELEASE
}${
RPMTools_RPMBUILD_DIST
}
"
)
message
(
STATUS
"Setting package file name to:
${
CPACK_SOURCE_PACKAGE_FILE_NAME
}
"
)
"
${
PROJECT_NAME
}
-
${
CASTOR_VERSION
}
-
${
CASTOR_RELEASE
}${
RPMTools_RPMBUILD_DIST
}
"
)
message
(
STATUS
"Setting package file name to:
${
CPACK_SOURCE_PACKAGE_FILE_NAME
}
"
)
include
(
CPack
)
include
(
cmake/UseRPMTools.cmake
)
if
(
RPMTools_FOUND
)
execute_process
(
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
CMAKE_SOURCE_DIR
}
/
${
PROJECT_NAME
}
.spec.in.head
${
CMAKE_BINARY_DIR
}
/
${
PROJECT_NAME
}
.spec.in
)
execute_process
(
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
CMAKE_SOURCE_DIR
}
/
${
PROJECT_NAME
}
.spec.in.head
${
CMAKE_BINARY_DIR
}
/
${
PROJECT_NAME
}
.spec.in
)
message
(
STATUS
"Generating spec file from debian package structure..."
)
execute_process
(
COMMAND ./makespec.in.sh
${
CMAKE_BINARY_DIR
}
/
${
PROJECT_NAME
}
.spec.in 2>&1
...
...
This diff is collapsed.
Click to expand it.
tape/CMakeLists.txt
+
9
−
0
View file @
12114668
...
...
@@ -63,6 +63,15 @@ set_target_properties (castortape PROPERTIES SOVERSION ${MAJOR_CASTOR_VERSION})
target_link_libraries
(
castortape castorcommon castordlf castorvmgr
)
install
(
TARGETS castortape DESTINATION
${
CASTOR_DEST_LIB_DIR
}
)
################################################################################
# Rules to install the man pages of libcastortape.so
################################################################################
set
(
TAPE_LIB_MAN_PAGES Ctape_dmpfil.man Ctape_info.man Ctape_kill.man
Ctape_label.man Ctape_mount.man Ctape_position.man Ctape_reserve.man
Ctape_rls.man Ctape_rstatus.man Ctape_status.man getcompstat.man readlbl.man
rwndtape.man skiptape.man usrlbl.man wrttpmrk.man
)
install
(
FILES
${
TAPE_LIB_MAN_PAGES
}
DESTINATION
${
CASTOR_DEST_MAN_DIR
}
/man3
)
################################################################################
# Rules to build taped
################################################################################
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment