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
PAPPSO
xtpcpp
Commits
0df46e41
Commit
0df46e41
authored
Nov 27, 2021
by
Langella Olivier
Browse files
avoid using local Makefile to fix make error "jobserver not available"
parent
97e7c530
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/user-manual/CMakeLists.txt
View file @
0df46e41
...
...
@@ -15,19 +15,33 @@ if(BUILD_USER_MANUAL)
CONFIGURE_FILE
(
${
CMAKE_SOURCE_DIR
}
/CMakeStuff/DC-user-manual.cmake.in
${
CMAKE_SOURCE_DIR
}
/doc/user-manual/DC-user-manual @ONLY
)
# Command:
# make xtpcpp-doc
#
Makes use of the local Makefile file.
#
Command to make xtpcpp-doc
# Will generate HTML and PDF documentation in the build directory
# Note that TARGET needs to be lowercase. Since we build the documentation
# only on UNIX, that target is set in
# CMakeStuff/toolchains/unix-toolchain.cmake.
add_custom_target
(
${
TARGET
}
-doc ALL
COMMAND make all
add_custom_target
(
html
daps -d DC-user-manual --verbosity=3 html --static
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
COMMENT
"DocBook-based user manual documentation for
${
CMAKE_PROJECT_NAME
}
"
)
COMMENT
"making pdf"
VERBATIM
)
add_custom_target
(
pdf
daps -d DC-user-manual --verbosity=3 pdf
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
COMMENT
"making pdf"
VERBATIM
)
add_custom_target
(
${
TARGET
}
-doc
DEPENDS pdf html
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
COMMENT
"making documentation"
VERBATIM
)
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/build/user-manual/
${
TARGET
}
-doc.pdf
...
...
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