Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
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
Operations
Operations
Metrics
Environments
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
cpp-libs
Actor Framework
Commits
9222e6c9
Commit
9222e6c9
authored
Jul 18, 2016
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update setup for manual files
parent
6c459534
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
CMakeLists.txt
CMakeLists.txt
+9
-3
No files found.
CMakeLists.txt
View file @
9222e6c9
...
...
@@ -554,11 +554,11 @@ if(EXISTS "${MANUAL_DIR}"
# retrieve current SHA1 hash
execute_process
(
COMMAND git log --pretty=format:%h -n 1
WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
OUTPUT_VARIABLE
GIT_HASH
OUTPUT_VARIABLE
CAF_SHA
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if
(
${
GIT_BRANCH
}
STREQUAL
"master"
)
# retrieve current tag name
execute_process
(
COMMAND git describe --tags --contains
${
GIT_HASH
}
execute_process
(
COMMAND git describe --tags --contains
${
CAF_SHA
}
WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
RESULT_VARIABLE GIT_TAG_RES
OUTPUT_VARIABLE GIT_TAG
...
...
@@ -571,7 +571,7 @@ if(EXISTS "${MANUAL_DIR}"
set
(
CAF_RELEASE
"
${
CAF_VERSION
}
"
)
endif
()
else
()
set
(
CAF_RELEASE
"
${
CAF_VERSION
}
+exp.sha.
${
GIT_HASH
}
"
)
set
(
CAF_RELEASE
"
${
CAF_VERSION
}
+exp.sha.
${
CAF_SHA
}
"
)
endif
()
MESSAGE
(
STATUS
"Set manual version to
${
CAF_RELEASE
}
"
)
configure_file
(
"
${
MANUAL_DIR
}
/variables.tex.in"
...
...
@@ -580,6 +580,12 @@ if(EXISTS "${MANUAL_DIR}"
configure_file
(
"
${
MANUAL_DIR
}
/conf.py.in"
"
${
MANUAL_DIR
}
/conf.py"
IMMEDIATE @ONLY
)
configure_file
(
"
${
MANUAL_DIR
}
/index_header.rst.in"
"
${
MANUAL_DIR
}
/index_header.rst"
IMMEDIATE @ONLY
)
configure_file
(
"
${
MANUAL_DIR
}
/index_footer.rst.in"
"
${
MANUAL_DIR
}
/index_footer.rst"
IMMEDIATE @ONLY
)
endif
()
################################################################################
...
...
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