Skip to content

Commit d40b96f

Browse files
authored
Fix version variable in reference manual PDF filename (#1363)
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]>
1 parent 191e58b commit d40b96f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if (DOXYGEN_FOUND)
1515
${CMAKE_BINARY_DIR}/doxygen/html/search
1616
COMMAND make -C ${CMAKE_BINARY_DIR}/doxygen/latex
1717
COMMAND mv ${CMAKE_BINARY_DIR}/doxygen/latex/refman.pdf
18-
${CMAKE_BINARY_DIR}/doxygen/latex/sdf-${SDF_VERSION_FULL}.pdf
18+
${CMAKE_BINARY_DIR}/doxygen/latex/sdf-${PROJECT_VERSION_FULL}.pdf
1919

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

0 commit comments

Comments
 (0)