From f1f87526b6421a4c792e1f8ab7d19b774f4cca6a Mon Sep 17 00:00:00 2001 From: Gbkng Date: Thu, 11 Apr 2024 13:58:36 +0200 Subject: [PATCH] refactor: simplify name of Doxyfile of developer doc --- doc/developer/doxygen/CMakeLists.txt | 10 +++++----- .../doxygen/{Doxyfile_med_dev.in => Doxyfile.in} | 0 2 files changed, 5 insertions(+), 5 deletions(-) rename doc/developer/doxygen/{Doxyfile_med_dev.in => Doxyfile.in} (100%) diff --git a/doc/developer/doxygen/CMakeLists.txt b/doc/developer/doxygen/CMakeLists.txt index 2d9e39471..618dc5ff0 100644 --- a/doc/developer/doxygen/CMakeLists.txt +++ b/doc/developer/doxygen/CMakeLists.txt @@ -18,7 +18,7 @@ # # Set MEDCOUPLING_SERVER_BASED_SEARCH=ON when building docs for putting on www.salome-platform.org -# MEDCOUPLING_SERVER_BASED_SEARCH is used in Doxyfile_med_dev +# MEDCOUPLING_SERVER_BASED_SEARCH is used in Doxyfile # IF(MEDCOUPLING_SERVER_BASED_SEARCH) SET(MEDCOUPLING_SERVER_BASED_SEARCH "YES") @@ -26,7 +26,7 @@ ELSE() SET(MEDCOUPLING_SERVER_BASED_SEARCH "NO") ENDIF() -SALOME_CONFIGURE_FILE(Doxyfile_med_dev.in Doxyfile_med_dev) +SALOME_CONFIGURE_FILE(Doxyfile.in Doxyfile) SALOME_CONFIGURE_FILE(static/header.html.in static/header.html) @@ -68,7 +68,7 @@ IF(MEDCOUPLING_ENABLE_PYTHON) # Here is the "standard" procedure, as if ${input} was hand-written. ADD_CUSTOM_TARGET(dev_docs ALL COMMAND ${PYTHON_EXECUTABLE} ${pythondocexamplesgenerator} ${input} ${output} - COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile_med_dev + COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile VERBATIM WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) @@ -80,7 +80,7 @@ IF(MEDCOUPLING_ENABLE_PYTHON) MEDCOUPLING_SWIG_DOCSTRING_CONFIGURE(dev_docs swig_ready MEDCoupling) MEDCOUPLING_SWIG_DOCSTRING_CONFIGURE(dev_docs swig_ready MEDLoader) - SET(doxyfile_med_dev ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile_med_dev) + SET(doxyfile_med_dev ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) FILE(STRINGS ${doxyfile_med_dev} enabled_sections REGEX "ENABLED_SECTIONS") IF(enabled_sections) FILE(READ ${doxyfile_med_dev} doxy_file) @@ -96,7 +96,7 @@ IF(MEDCOUPLING_ENABLE_PYTHON) ELSE() ADD_CUSTOM_TARGET(dev_docs ALL - COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile_med_dev + COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile VERBATIM WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) diff --git a/doc/developer/doxygen/Doxyfile_med_dev.in b/doc/developer/doxygen/Doxyfile.in similarity index 100% rename from doc/developer/doxygen/Doxyfile_med_dev.in rename to doc/developer/doxygen/Doxyfile.in -- 2.39.2