Install doc_pdf by default
No need to use INSTALL_TARGET anymore OK bluhm@ (maintainer)
This commit is contained in:
parent
1711bca968
commit
25fffc7641
@ -46,8 +46,6 @@ CONFIGURE_ARGS = -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
|
||||
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
||||
|
||||
ALL_TARGET = all doc_pdf
|
||||
|
||||
FLAVORS = ns0_full
|
||||
FLAVOR ?=
|
||||
|
||||
|
16
misc/open62541/patches/patch-doc_CMakeLists_txt
Normal file
16
misc/open62541/patches/patch-doc_CMakeLists_txt
Normal file
@ -0,0 +1,16 @@
|
||||
"Indicate that this target should be added to the default build target so that
|
||||
it will be run every time."
|
||||
https://cmake.org/cmake/help/latest/command/add_custom_target.html
|
||||
|
||||
Index: doc/CMakeLists.txt
|
||||
--- doc/CMakeLists.txt.orig
|
||||
+++ doc/CMakeLists.txt
|
||||
@@ -74,7 +74,7 @@ add_custom_target(doc_latex ${SPHINX_EXECUTABLE}
|
||||
COMMENT "Building LaTeX sources for documentation with Sphinx")
|
||||
add_dependencies(doc_latex open62541)
|
||||
|
||||
-add_custom_target(doc_pdf ${PDFLATEX_COMPILER} -interaction=batchmode "open62541.tex"
|
||||
+add_custom_target(doc_pdf ALL ${PDFLATEX_COMPILER} -interaction=batchmode "open62541.tex"
|
||||
WORKING_DIRECTORY ${DOC_LATEX_DIR}
|
||||
# compile it twice so that the contents pages are correct
|
||||
COMMAND ${PDFLATEX_COMPILER} -interaction=batchmode "open62541.tex"
|
Loading…
x
Reference in New Issue
Block a user