From f6a307447606f9638e30515f0e7b0e8fce5944cd Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 26 Sep 2023 12:04:19 -0600 Subject: [PATCH] Rename perl scripts to include .pl as extension. --- doc/doxygen/code-gallery/CMakeLists.txt | 2 +- doc/doxygen/scripts/make_gallery.pl | 2 +- doc/doxygen/scripts/make_step.pl | 4 ++-- doc/doxygen/scripts/{program2doxygen => program2doxygen.pl} | 0 doc/doxygen/scripts/{program2html => program2html.pl} | 0 doc/doxygen/scripts/{program2plain => program2plain.pl} | 0 doc/doxygen/scripts/{program2toc => program2toc.pl} | 0 doc/doxygen/tutorial/CMakeLists.txt | 6 +++--- 8 files changed, 7 insertions(+), 7 deletions(-) rename doc/doxygen/scripts/{program2doxygen => program2doxygen.pl} (100%) rename doc/doxygen/scripts/{program2html => program2html.pl} (100%) rename doc/doxygen/scripts/{program2plain => program2plain.pl} (100%) rename doc/doxygen/scripts/{program2toc => program2toc.pl} (100%) diff --git a/doc/doxygen/code-gallery/CMakeLists.txt b/doc/doxygen/code-gallery/CMakeLists.txt index bf4479e525..bd08375a41 100644 --- a/doc/doxygen/code-gallery/CMakeLists.txt +++ b/doc/doxygen/code-gallery/CMakeLists.txt @@ -129,7 +129,7 @@ if (EXISTS ${DEAL_II_CODE_GALLERY_DIRECTORY}/README.md) ${CMAKE_CURRENT_BINARY_DIR} DEPENDS ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/make_gallery.pl - ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/program2doxygen + ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/program2doxygen.pl ${_src_files} ) diff --git a/doc/doxygen/scripts/make_gallery.pl b/doc/doxygen/scripts/make_gallery.pl index 7b98c51d4c..f48e5abdde 100644 --- a/doc/doxygen/scripts/make_gallery.pl +++ b/doc/doxygen/scripts/make_gallery.pl @@ -163,7 +163,7 @@ foreach my $file (@src_files) print "\n"; print "

Annotated version of $file

\n"; - system $^X, "$cmake_source_dir/doc/doxygen/scripts/program2doxygen", "$gallery_dir/$file"; + system $^X, "$cmake_source_dir/doc/doxygen/scripts/program2doxygen.pl", "$gallery_dir/$file"; print "\n\n"; } diff --git a/doc/doxygen/scripts/make_step.pl b/doc/doxygen/scripts/make_step.pl index d995dc6a2c..36e40315ff 100644 --- a/doc/doxygen/scripts/make_step.pl +++ b/doc/doxygen/scripts/make_step.pl @@ -58,7 +58,7 @@ system $^X, "$cmake_source_dir/doc/doxygen/scripts/intro2toc", "$cmake_source_di print "
  • The commented program\n"; -system $^X, "$cmake_source_dir/doc/doxygen/scripts/program2toc", "$cmake_source_dir/examples/$step/$step.cc"; +system $^X, "$cmake_source_dir/doc/doxygen/scripts/program2toc.pl", "$cmake_source_dir/examples/$step/$step.cc"; print "
      @@ -90,7 +90,7 @@ print " *\n"; print " * \n"; print " *

      The commented program

      \n"; -system $^X, "$cmake_source_dir/doc/doxygen/scripts/program2doxygen", "$cmake_source_dir/examples/$step/$step.cc"; +system $^X, "$cmake_source_dir/doc/doxygen/scripts/program2doxygen.pl", "$cmake_source_dir/examples/$step/$step.cc"; system $^X, "$cmake_source_dir/doc/doxygen/scripts/create_anchors", "$cmake_source_dir/examples/$step/doc/results.dox"; diff --git a/doc/doxygen/scripts/program2doxygen b/doc/doxygen/scripts/program2doxygen.pl similarity index 100% rename from doc/doxygen/scripts/program2doxygen rename to doc/doxygen/scripts/program2doxygen.pl diff --git a/doc/doxygen/scripts/program2html b/doc/doxygen/scripts/program2html.pl similarity index 100% rename from doc/doxygen/scripts/program2html rename to doc/doxygen/scripts/program2html.pl diff --git a/doc/doxygen/scripts/program2plain b/doc/doxygen/scripts/program2plain.pl similarity index 100% rename from doc/doxygen/scripts/program2plain rename to doc/doxygen/scripts/program2plain.pl diff --git a/doc/doxygen/scripts/program2toc b/doc/doxygen/scripts/program2toc.pl similarity index 100% rename from doc/doxygen/scripts/program2toc rename to doc/doxygen/scripts/program2toc.pl diff --git a/doc/doxygen/tutorial/CMakeLists.txt b/doc/doxygen/tutorial/CMakeLists.txt index 5326c1e92f..240fb77857 100644 --- a/doc/doxygen/tutorial/CMakeLists.txt +++ b/doc/doxygen/tutorial/CMakeLists.txt @@ -117,11 +117,11 @@ foreach(_step ${_deal_ii_steps}) OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_step}.cc COMMAND ${PERL_EXECUTABLE} ARGS - ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/program2plain + ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/program2plain.pl < ${CMAKE_SOURCE_DIR}/examples/${_step}/${_step}.cc > ${CMAKE_CURRENT_BINARY_DIR}/${_step}.cc DEPENDS - ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/program2plain + ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/program2plain.pl ${CMAKE_SOURCE_DIR}/examples/${_step}/${_step}.cc VERBATIM ) @@ -139,7 +139,7 @@ foreach(_step ${_deal_ii_steps}) ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/make_step.pl ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/intro2toc ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/create_anchors - ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/program2doxygen + ${CMAKE_SOURCE_DIR}/doc/doxygen/scripts/program2doxygen.pl ${CMAKE_SOURCE_DIR}/examples/${_step}/${_step}.cc ${CMAKE_SOURCE_DIR}/examples/${_step}/doc/intro.dox ${CMAKE_SOURCE_DIR}/examples/${_step}/doc/results.dox -- 2.39.5