#!/bin/sh
-
-p1=`find ./ -name '*.hh' |egrep -v out/`
-p2=`find ./ -name '*.cc' |egrep -v out/`
+if [ x$LILYTOP = x ];
+then
+ LILYTOP = .
+fi
+p1=`find $LILYTOP -name '*.hh' |egrep -v out/`
+p2=`find $LILYTOP -name '*.cc' |egrep -v out/`
doc++ -d out/ -S -k -p $p1 $p2
$ban =~ s!index.html!../index.html!g;
print BANNER $ban;
close BANNER;
- my_system "BANNEROPT=\"-B /tmp/lilybanner.html\" $depth/bin/out/make-docxx";
+ my_system("BANNEROPT=\"-B /tmp/lilybanner.html\" $depth/bin/out/make-docxx");
}
sub do_tar
chdir ("out");
$ENV{"TEXINPUTS"} .= ":$depth/input/:";
$ENV{"LILYINCLUDE"} = "$depth/input/";
-
+ $ENV{"LILYTOP"} = $depth;
gen_html;
copy_files;