6 s#href=([A-Za-z.]+)#href=$base/$1#g;
11 local $base="lilypond/";
12 local @examples=("wohltemperirt");
16 print "resetting refs.\n";
26 foreach $a (@examples) {
28 system "cd ..; lilypond input/$a; tex $texfile;";
29 system "dvips -o $texfile.ps $texfile;";
30 system "mv ../$texfile.ps $a.ps;".
31 "gs -q -sDEVICE=ppmraw -sOutputFile=- -r200 -dNOPAUSE $a.ps -c quit |pnmscale 0.5| ppmtogif > $a.gif"
34 system "mkdir docxx; make -C.. docxx; ln ../docxx/* ./docxx/;"
36 system "tar cf website.tar *.html *.gif *.png *.ps docxx/;" .
37 "gzip -9 website.tar;"