From 299c5ab38b79e6febd5c4b42ed5d6ca53a5f2b0b Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 24 Mar 2000 08:45:45 +0000 Subject: [PATCH] Include step number into header of files. git-svn-id: https://svn.dealii.org/trunk@2628 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/tutorial/chapter-2.step-by-step/Makefile | 6 +++++- deal.II/doc/tutorial/chapter-2.step-by-step/head.html | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/Makefile b/deal.II/doc/tutorial/chapter-2.step-by-step/Makefile index 2efcb2b41f..0e72bcf87c 100644 --- a/deal.II/doc/tutorial/chapter-2.step-by-step/Makefile +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/Makefile @@ -14,7 +14,11 @@ all: $(example-htmls) $(example-htmls): @echo ================== Assembling $@ - @cat head.html > $@ + @cat head.html \ + | perl -pi -e '$$step="$@"; \ + $$step=~s/step-(\d+).html/$$1/g; \ + s/step xxx/step $$step/g;' \ + > $@ @cat $(@:.html=.data/intro.html) >> $@ @cat $D/examples/$(@:.html=)/$(@:.html=.cc) \ | $(PERL) program2html \ diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/head.html b/deal.II/doc/tutorial/chapter-2.step-by-step/head.html index 3b8f6f3b3f..e9973c5adc 100644 --- a/deal.II/doc/tutorial/chapter-2.step-by-step/head.html +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/head.html @@ -16,7 +16,7 @@ -

Overview

+

Overview of step xxx

  1. Introduction -- 2.39.5