aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authornotin2007-07-25 12:27:03 +0000
committernotin2007-07-25 12:27:03 +0000
commitc04551d46beedb920ac563edd126712306d948c5 (patch)
tree2c3de80a3db11816d73c5f2c21101d7fa87245c4 /doc/Makefile
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/Makefile')
-rw-r--r--doc/Makefile20
1 files changed, 16 insertions, 4 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 072070d455..6bbdf4a639 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -212,18 +212,30 @@ faq/html/index.html: faq/FAQ.v.html
# Standard library
######################################################################
-GLOBDUMP=$(COQTOP)/glob.dump
+GLOBDUMP=../glob.dump
-LIBDIRS= Logic Bool Arith ZArith QArith Reals Lists Sets Relations Sorting Wellfounded IntMap FSets
+LIBDIRS= Init Logic Bool Arith NArith ZArith QArith Relations Sets Setoids Lists Sorting Wellfounded IntMap FSets Reals
+# We avoid Strings as String.v contains unicode caracters that make latex fail
+
+LIBDIRS+= Ints Ints/num
+# LIBDIRS+= Ints/List Ints/Z
+# LIBDIRS+= Numbers Numbers/Natural/Axioms Numbers/Natural/Binary Numbers/Natural/Peano Numbers/Integer/Axioms Numbers/Integer/NatPairs Numbers/Rational
+
+
+ALLTHEORIES_V=$(foreach dir, $(LIBDIRS), $(wildcard $(COQTOP)/theories/$(dir)/*.v))
+ALLTHEORIES_GLOB = $(ALLTHEORIES_V:%.v=%.glob)
### Standard library (browsable html format)
-stdlib/index-body.html: $(GLOBDUMP)
+$(GLOBDUMP): $(ALLTHEORIES_GLOB)
+ $(MAKE) -C .. $(@:../%=%)
+
+stdlib/index-body.html: $(GLOBDUMP) $(ALLTHEORIES_V)
- rm -rf stdlib/html
mkdir stdlib/html
(cd stdlib/html;\
$(COQDOC) -q --multi-index --html --glob-from $(GLOBDUMP)\
- -R $(COQTOP)/theories Coq $(COQTOP)/theories/*/*.v)
+ -R $(COQTOP)/theories Coq $(ALLTHEORIES_V))
mv stdlib/html/index.html stdlib/index-body.html
stdlib/index-list.html: stdlib/index-list.html.template