aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/stdlib/make-library-index
diff options
context:
space:
mode:
authorGravatar notin <notin@85f007b7-540e-0410-9357-904b9bb8a0f7>2007-07-25 12:27:03 +0000
committerGravatar notin <notin@85f007b7-540e-0410-9357-904b9bb8a0f7>2007-07-25 12:27:03 +0000
commitc04551d46beedb920ac563edd126712306d948c5 (patch)
tree2c3de80a3db11816d73c5f2c21101d7fa87245c4 /doc/stdlib/make-library-index
parentcbcf5396a5e6055dee4cb6e026ea7c468b2b0c61 (diff)
Modifications de la construction de la documentation de la librairie
standard: - ajout d'une entrée dans le Makefile principal pour le fichier de globalisations glob.dump - modifications de doc/Makefile et de l'index html pour gérer les nouveaux fichiers de la librairie standard (en part. ceux dans Ints) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10049 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'doc/stdlib/make-library-index')
-rwxr-xr-xdoc/stdlib/make-library-index41
1 files changed, 22 insertions, 19 deletions
diff --git a/doc/stdlib/make-library-index b/doc/stdlib/make-library-index
index ddbcd09fd..cbcd15ef3 100755
--- a/doc/stdlib/make-library-index
+++ b/doc/stdlib/make-library-index
@@ -7,27 +7,30 @@ FILE=$1
cp -f $FILE.template tmp
echo -n Building file index-list.prehtml ...
-for i in ../theories/*; do
- echo $i
+LIBDIRS="Init Logic Bool Arith NArith ZArith QArith Relations Sets Setoids Lists Sorting Wellfounded IntMap FSets Reals Ints Ints/num"
- d=`basename $i`
- if [ "$d" != "Num" -a "$d" != "CVS" ]; then
- for j in $i/*.v; do
- b=`basename $j .v`
- rm -f tmp2
- grep -q theories/$d/$b.v tmp
- a=$?
- if [ $a = 0 ]; then
- sed -e "s:theories/$d/$b.v:<a href=\"Coq.$d.$b.html\">$b</a>:g" tmp > tmp2
- mv -f tmp2 tmp
- else
- echo Warning: theories/$d/$b.v is missing in the template file
+for k in $LIBDIRS; do
+ i=../theories/$k
+ echo $i
+
+ d=`basename $i`
+ if [ "$d" != "Num" -a "$d" != "CVS" ]; then
+ for j in $i/*.v; do
+ b=`basename $j .v`
+ rm -f tmp2
+ grep -q theories/$k/$b.v tmp
+ a=$?
+ if [ $a = 0 ]; then
+ sed -e "s:theories/$k/$b.v:<a href=\"Coq.$d.$b.html\">$b</a>:g" tmp > tmp2
+ mv -f tmp2 tmp
+ else
+ echo Warning: theories/$k/$b.v is missing in the template file
+ fi
+ done
fi
- done
- fi
- rm -f tmp2
- sed -e "s/#$d#//" tmp > tmp2
- mv -f tmp2 tmp
+ rm -f tmp2
+ sed -e "s/#$d#//" tmp > tmp2
+ mv -f tmp2 tmp
done
a=`grep theories tmp`
if [ $? = 0 ]; then echo Warning: extra files:; echo $a; fi