$text =~ s!^(T2_DOCS = .*)humour/fortunes/index.html!$1!m;
+# This is to in order to generate the t2/humour/fortunes/arcs-list.mak
+# file, which is inclduded by the makefile.
+ my $orig_dir = getcwd();
+ system("make", "dist");