3
# Instantiate links to library files in index template
7
cp -f $FILE.template tmp
8
echo -n Building file index-list.prehtml ...
10
LIBDIRS="Init Logic Bool Arith NArith ZArith QArith Relations Sets Classes Setoids Lists Sorting Wellfounded FSets Reals Program Numbers Numbers/Natural/Abstract Numbers/Natural/Peano Numbers/Natural/Binary Numbers/Natural/BigN Numbers/Natural/SpecViaZ Numbers/Integer/Abstract Numbers/Integer/NatPairs Numbers/Integer/Binary Numbers/Integer/SpecViaZ Numbers/Integer/BigZ Numbers/NatInt Numbers/Cyclic/Abstract Numbers/Cyclic/Int31 Numbers/Cyclic/ZModulo Numbers/Cyclic/DoubleCyclic Numbers/Rational/BigQ Numbers/Rational/SpecViaQ Strings"
17
if [ "$d" != "Num" -a "$d" != "CVS" ]; then
21
grep -q theories/$k/$b.v tmp
24
p=`echo $k | sed 's:/:.:g'`
25
sed -e "s:theories/$k/$b.v:<a href=\"Coq.$p.$b.html\">$b</a>:g" tmp > tmp2
28
echo Warning: theories/$k/$b.v is missing in the template file
33
sed -e "s/#$d#//" tmp > tmp2
37
if [ $? = 0 ]; then echo Warning: extra files:; echo $a; fi