Skip to content

Commit bc69cb4

Browse files
Merge pull request #642 from E3SM-Project/jayeshkrishna/mv_doc_to_docs
Updating CMake target/directory to point to new directory for documentation ("docs" instead of "doc") This PR fixes documentation generation broken by PR #641
2 parents 94c1ee1 + fd83970 commit bc69cb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ endif ()
409409

410410
if (PIO_ENABLE_DOC)
411411
message(STATUS "Enabling SCORPIO Documentation...")
412-
add_subdirectory (doc)
412+
add_subdirectory (docs)
413413
else ()
414414
message(STATUS "Disabling SCORPIO Documentation... (default, use -DPIO_ENABLE_DOC:BOOL=ON to enable documentation)")
415415
endif ()

docs/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ${CMAKE_CURRENT_SOURCE_DIR}/../src/clib/pioc_sc.c" )
3232
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
3333

3434
# Copy necessary files.
35-
add_custom_target(doc
35+
add_custom_target(docs
3636
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/customdoxygen.css
3737
${CMAKE_CURRENT_BINARY_DIR}
3838
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/DoxygenLayout.xml

0 commit comments

Comments
 (0)