From: Timo Heister <timo.heister@gmail.com>
Date: Fri, 31 Aug 2018 14:12:12 +0000 (-0400)
Subject: remove unused program2doxyplain script
X-Git-Tag: v9.1.0-rc1~760^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7136%2Fhead;p=dealii.git

remove unused program2doxyplain script
---

diff --git a/doc/doxygen/scripts/program2doxyplain b/doc/doxygen/scripts/program2doxyplain
deleted file mode 100644
index bac2d2768f..0000000000
--- a/doc/doxygen/scripts/program2doxyplain
+++ /dev/null
@@ -1,51 +0,0 @@
-## ---------------------------------------------------------------------
-##
-## Copyright (C) 2006 - 2015 by the deal.II authors
-##
-## This file is part of the deal.II library.
-##
-## The deal.II library is free software; you can use it, redistribute
-## it, and/or modify it under the terms of the GNU Lesser General
-## Public License as published by the Free Software Foundation; either
-## version 2.1 of the License, or (at your option) any later version.
-## The full text of the license can be found in the file LICENSE.md at
-## the top level directory of deal.II.
-##
-## ---------------------------------------------------------------------
-
-
-print "\n";
-
-
-while (<>) {
-    # simply print non-comment lines and let doxygen do all the work.
-    # the only thing we have to make sure is that if we copy /*...*/
-    # comments that doxygen doesn't get confused; do so by simply
-    # adding a space
-    #
-    # also remove all $ signs to avoid confusing doxygen with what
-    # may or may not be a formula
-    if ( ! m!^\s*//! ) {
-        s!/\*!/ \*!g;
-        s!\*/!\* /!g;
-
-        s!\$!!g;
-
-	print " * $_";
-    } else {
-	# for comments, all we do is replace section headers, and
-	# generate addressable anchors
-	if ( /\@sect/ ) {
-	   m!\@sect(\d)\{(.*)\}\s*$!;
-	   $sect_name = $2;
-
-	   # for the anchor, use the name of the section but discard
-	   # everything except for letters, numbers, and underscores
-	   $sect_name =~ s/[^a-zA-Z0-9_]//g;
-
-	   print "\@endcode\n";
-	   print " <a name=\"plain-$sect_name\"></a>\n";
-	   print "\@code\n";
-	}
-    }	
-}
diff --git a/doc/doxygen/tutorial/CMakeLists.txt b/doc/doxygen/tutorial/CMakeLists.txt
index 159401eaea..5ac000e9f3 100644
--- a/doc/doxygen/tutorial/CMakeLists.txt
+++ b/doc/doxygen/tutorial/CMakeLists.txt
@@ -140,7 +140,6 @@ FOREACH(_step ${_deal_ii_steps})
       ${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/program2doxyplain
       ${CMAKE_SOURCE_DIR}/examples/${_step}/${_step}.cc
       ${CMAKE_SOURCE_DIR}/examples/${_step}/doc/intro.dox
       ${CMAKE_SOURCE_DIR}/examples/${_step}/doc/results.dox