Remove/replace many mentions of Jenkins
[alexxy/gromacs.git] / docs / doxygen / RunDoxygen.cmake.cmakein
index 4ac1f9bf619c070d7054e5461ee585953a42ee03..da8c85bd9d38c76984417303ae94edc81a212338 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2013,2014, by the GROMACS development team, led by
+# Copyright (c) 2013,2014,2015,2021, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
@@ -36,7 +36,7 @@ set(DOXYGEN_EXECUTABLE   "@DOXYGEN_EXECUTABLE@")
 set(DOXYGEN_VERSION      "@DOXYGEN_VERSION@")
 set(DOXYGEN_MSCGEN_FOUND @DOXYGEN_MSCGEN_FOUND@)
 
-set(EXPECTED_VERSION 1.8.5)
+set(EXPECTED_VERSION     "@EXPECTED_DOXYGEN_VERSION@")
 
 if (NOT DOXYGEN_VERSION VERSION_EQUAL EXPECTED_VERSION)
     message("NOTE: You are using Doxygen version ${DOXYGEN_VERSION}. "
@@ -62,14 +62,14 @@ if (DOXYGEN_WARNINGS)
     message("The following warnings were produced by Doxygen:")
     message("${STRIPPED_WARNINGS}")
     # Remove some useless/hard-to-suppress warnings from the file to avoid
-    # Jenkins complaining.
+    # CI complaining.
     string(REGEX REPLACE
            "warning:[^\n]*Consider increasing DOT_GRAPH_MAX_NODES.\n" ""
            DOXYGEN_WARNINGS "${DOXYGEN_WARNINGS}")
     # Add a note to the warnings that identify the documentation type that
-    # produces them.  This makes it easier to see in Jenkins if a warning type
+    # produces them.  This makes it easier to see in CI if a warning type
     # is produced only from some documentation types.
-    string(REGEX REPLACE "\n" " (in doc-${DOCTYPE})\n"
+    string(REGEX REPLACE "\n" " (in doxygen-${DOCTYPE})\n"
            DOXYGEN_WARNINGS "${DOXYGEN_WARNINGS}")
     file(WRITE doxygen-${DOCTYPE}.log "${DOXYGEN_WARNINGS}")
 endif ()