| $(PERL) program2html \
>> $@
@cat $(@:.html=.results) >> $@
- @cat ../../../deal.II/examples/step-by-step/$(@:.html=)/$(@:.html=.cc) \
+ @cat $D/deal.II/examples/step-by-step/$(@:.html=)/$(@:.html=.cc) \
| $(PERL) program2plain \
+ | $(PERL) -e '$$path="$D/deal.II/examples/step-by-step/$(@:.html=)/$(@:.html=.cc)"; \
+ $$path =~ s!/! /!g; \
+ while (<>) { s!PROGRAMPATH!$$path!g; print; };' \
>> $@
@cat step-by-step.foot >> $@
}
print "<a name=\"PlainProg\"></a>\n";
-print "<h1> The plain program</h1>";
+print "<h1> The plain program</h1>\n";
+
+print "(The program can be found at <i>PROGRAMPATH</i>.)\n <p>\n";
+
print "<pre><code>";
<li> <a href="#Results"> Results </a>
<li> <a href="#PlainProg"> The plain program </a>
</ol>
+
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams