From 15d1cb6ed8b17aed8a3ed915260aab79d9017351 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 6 Jan 2016 07:17:59 -0600 Subject: [PATCH] Do not create the heading in program2doxygen. Instead create it where we call it. --- doc/doxygen/scripts/make_step.pl | 4 +++- doc/doxygen/scripts/program2doxygen | 5 +---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/doxygen/scripts/make_step.pl b/doc/doxygen/scripts/make_step.pl index a329d431be..36907f9e89 100644 --- a/doc/doxygen/scripts/make_step.pl +++ b/doc/doxygen/scripts/make_step.pl @@ -1,6 +1,6 @@ ## --------------------------------------------------------------------- ## -## Copyright (C) 2013 by the deal.II authors +## Copyright (C) 2013, 2016 by the deal.II authors ## ## This file is part of the deal.II library. ## @@ -56,6 +56,8 @@ print system $^X, "$cmake_source_dir/doc/doxygen/scripts/create_anchors", "$cmake_source_dir/examples/$step/doc/intro.dox"; +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/create_anchors", "$cmake_source_dir/examples/$step/doc/results.dox"; diff --git a/doc/doxygen/scripts/program2doxygen b/doc/doxygen/scripts/program2doxygen index d00a8bb618..c98b8ab82e 100644 --- a/doc/doxygen/scripts/program2doxygen +++ b/doc/doxygen/scripts/program2doxygen @@ -1,6 +1,6 @@ ## --------------------------------------------------------------------- ## -## Copyright (C) 2006 - 2015 by the deal.II authors +## Copyright (C) 2006 - 2016 by the deal.II authors ## ## This file is part of the deal.II library. ## @@ -14,9 +14,6 @@ ## --------------------------------------------------------------------- -print " * \n"; -print " *

The commented program

\n"; - # ignore comments at the start of the program. this includes subversion # tags and copyright notices. $_ = <>; -- 2.39.5