Skip to content

Commit

Permalink
Fix version variable in reference manual PDF filename (#1363)
Browse files Browse the repository at this point in the history
The variable SDF_VERSION_FULL is a C preprocessor macro which is set to
the value of the CMake variable PROJECT_VERSION_FULL in config.hh.in. It
is not defined as a CMake variable itself, and currently evaluates to an
empty string resulting in refman.pdf being renamed to sdf-.pdf.

Signed-off-by: Scott K Logan <[email protected]>
  • Loading branch information
cottsay authored Jan 30, 2024
1 parent 191e58b commit d40b96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if (DOXYGEN_FOUND)
${CMAKE_BINARY_DIR}/doxygen/html/search
COMMAND make -C ${CMAKE_BINARY_DIR}/doxygen/latex
COMMAND mv ${CMAKE_BINARY_DIR}/doxygen/latex/refman.pdf
${CMAKE_BINARY_DIR}/doxygen/latex/sdf-${SDF_VERSION_FULL}.pdf
${CMAKE_BINARY_DIR}/doxygen/latex/sdf-${PROJECT_VERSION_FULL}.pdf

COMMENT "Generating API documentation with Doxygen" VERBATIM)
endif()

0 comments on commit d40b96f

Please sign in to comment.