aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.common
diff options
context:
space:
mode:
authorGravatar notin <notin@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-02-14 18:30:40 +0000
committerGravatar notin <notin@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-02-14 18:30:40 +0000
commit95ec8e7defce5175a541b50479cc7f76058bedfc (patch)
tree12c390525de1d8d2bf121e7df3ba93417664b69f /Makefile.common
parentbf0a84212da96e0153a749cdeaccab6cdd1e558c (diff)
Plongement de doc/Makefile dans la nouvelle architecutre des Makefile
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10570 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common43
1 files changed, 42 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index 8c87552ee..69bfe1fd8 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -53,6 +53,46 @@ TOOLS:=$(COQDEP) $(COQMAKEFILE) $(GALLINA) $(COQTEX) \
$(COQWC) $(COQDOC)
###########################################################################
+# Documentation
+###########################################################################
+
+LATEX:=latex
+BIBTEX:=bibtex -min-crossrefs=10
+MAKEINDEX:=makeindex
+PDFLATEX:=pdflatex
+HEVEALIB:=/usr/local/lib/hevea:/usr/lib/hevea
+export TEXINPUTS:=$(COQSRC)/doc:$(HEVEALIB):
+COQTEXOPTS:=-n 72 -image $(COQSRC)/$(COQTOP) -v -sl -small
+
+REFMANCOQTEXFILES:=\
+ doc/refman/RefMan-gal.v.tex doc/refman/RefMan-ext.v.tex \
+ doc/refman/RefMan-mod.v.tex doc/refman/RefMan-tac.v.tex \
+ doc/refman/RefMan-cic.v.tex doc/refman/RefMan-lib.v.tex \
+ doc/refman/RefMan-tacex.v.tex doc/refman/RefMan-syn.v.tex \
+ doc/refman/RefMan-oth.v.tex doc/refman/RefMan-ltac.v.tex \
+ doc/refman/RefMan-decl.v.tex \
+ doc/refman/Cases.v.tex doc/refman/Coercion.v.tex doc/refman/Extraction.v.tex \
+ doc/refman/Program.v.tex doc/refman/Omega.v.tex doc/refman/Polynom.v.tex \
+ doc/refman/Setoid.v.tex doc/refman/Helm.tex # doc/refman/Natural.v.tex
+
+REFMANTEXFILES:=\
+ doc/refman/headers.sty \
+ doc/refman/Reference-Manual.tex doc/refman/RefMan-pre.tex \
+ doc/refman/RefMan-int.tex doc/refman/RefMan-pro.tex \
+ doc/refman/RefMan-com.tex \
+ doc/refman/RefMan-uti.tex doc/refman/RefMan-ide.tex \
+ doc/refman/RefMan-add.tex doc/refman/RefMan-modr.tex \
+ $(REFMANCOQTEXFILES) \
+
+REFMANEPSFILES:=doc/refman/coqide.eps doc/refman/coqide-queries.eps
+
+REFMANFILES:=$(REFMANTEXFILES) $(COMMON) $(REFMANEPSFILES) doc/refman/biblio.bib
+
+REFMANPNGFILES:=$(REFMANEPSFILES:.eps=.png)
+
+
+
+###########################################################################
# Object and Source files
###########################################################################
@@ -831,9 +871,10 @@ VO_TARGETS:=logic arith bool narith zarith qarith lists strings sets \
setoids sorting natural integer rational numbers noreal \
omega ring setoid_ring dp xml extraction field fourier jprover \
funind cc subtac rtauto
+DOC_TARGETS:=doc doc-html doc-ps doc-pdf stdlib refman tutorial faq rectutorial
STAGE3_TARGETS:=world install coqide coqide-files coq coqlib \
coqlight states pcoq-files check init theories theories-light contrib \
- doc glob.dump $(VO_TARGETS)
+ $(DOC_TARGETS) $(VO_TARGETS)
# For emacs: