From 98ae854a85bc8d150c64b31add182918c28f87d0 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 15 Mar 2006 03:16:33 +0000 Subject: [PATCH] Fix one bug, and simplify one more command somewhat. git-svn-id: https://svn.dealii.org/trunk@12591 0785d39b-7218-0410-832d-ea1e28bc413d --- .../doc/tutorial/chapter-2.step-by-step/Makefile | 15 +++++++++------ .../tutorial/chapter-2.step-by-step/program2plain | 15 ++------------- 2 files changed, 11 insertions(+), 19 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 f42149020c..8c2aa2b3eb 100644 --- a/deal.II/doc/tutorial/chapter-2.step-by-step/Makefile +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/Makefile @@ -40,12 +40,15 @@ $(example-commprogs): $(example-plainprogs): @echo ================== Making $@ - @cat $D/examples/$(call get_basename, $@)/*.cc \ - | $(PERL) program2plain \ - | $(PERL) -e '$$path="$D/examples/$(call get_basename,$@)/*.cc)"; \ - $$path =~ s!/! /!g; \ - while (<>) { s!PROGRAMPATH!$$path!g; print; };' \ - > $@ + @echo "" > $@ + @echo "

The plain program

" >> $@ + @echo "

" >> $@ + @echo "(If you are looking at a locally installed deal.II version, then the" >> $@ + @echo "program can be found at " >> $@ + @echo $D/examples/$(call get_basename,$@)/*.cc | $(PERL) -pi -e 's!/! /!g;' >> $@ + @echo ". Otherwise, this is only" >> $@ + @echo "the path on some remote server.)

" >> $@ + @cat $D/examples/$(call get_basename, $@)/*.cc | $(PERL) program2plain >> $@ $(example-toc-prog): diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/program2plain b/deal.II/doc/tutorial/chapter-2.step-by-step/program2plain index 5174b5b351..380da8b56c 100644 --- a/deal.II/doc/tutorial/chapter-2.step-by-step/program2plain +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/program2plain @@ -1,18 +1,7 @@ # Copyright (C) 1999, 2000, 2001, 2002, 2006 by Wolfgang Bangerth, University of Heidelberg -print < -

The plain program

- -

-(If you are looking at a locally installed deal.II version, then the -program can be found at PROGRAMPATH. Otherwise, this is only -the path on some remote server.) -

- -

-


-END
+print "

\n"; +print "

\n";
 
 
 while (<>) {
-- 
2.39.5