$(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 "<a name=\"PlainProg\"></a>" > $@
+ @echo "<h1> The plain program</h1>" >> $@
+ @echo "<p>" >> $@
+ @echo "(If you are looking at a locally installed deal.II version, then the" >> $@
+ @echo "program can be found at <i>" >> $@
+ @echo $D/examples/$(call get_basename,$@)/*.cc | $(PERL) -pi -e 's!/! /!g;' >> $@
+ @echo "</i>. Otherwise, this is only" >> $@
+ @echo "the path on some remote server.) </p>" >> $@
+ @cat $D/examples/$(call get_basename, $@)/*.cc | $(PERL) program2plain >> $@
$(example-toc-prog):
# Copyright (C) 1999, 2000, 2001, 2002, 2006 by Wolfgang Bangerth, University of Heidelberg
-print <<END;
-<a name=\"PlainProg\"></a>
-<h1> The plain program</h1>
-
-<p>
-(If you are looking at a locally installed deal.II version, then the
-program can be found at <i>PROGRAMPATH</i>. Otherwise, this is only
-the path on some remote server.)
-</p>
-
-<p>
-<pre><code>
-END
+print "<p>\n";
+print "<pre><code>\n";
while (<>) {