3
# Instantiate links to library files in index template
7
cp -f $FILE.template tmp
8
echo -n Building file index-list.prehtml ...
10
for i in ../theories/*; do
14
if [ "$d" != "Num" -a "$d" != "CVS" ]; then
18
grep -q theories/$d/$b.v tmp
21
sed -e "s:theories/$d/$b.v:<a href=\"Coq.$d.$b.html\">$b</a>:g" tmp > tmp2
24
echo Warning: theories/$d/$b.v is missing in the template file
29
sed -e "s/#$d#//" tmp > tmp2
33
if [ $? = 0 ]; then echo Warning: extra files:; echo $a; fi