1
# Makefile for building Coq Technical Reports
3
# if coqc,coqtop,coq-tex are not in your PATH, you need the environment
4
# variable COQBIN to be correctly set
5
# (COQTOP is autodetected)
6
# (some files are preprocessed using Coq and some part of the documentation
7
# is automatically built from the theories sources)
9
# To compile documentation, you need the following tools:
10
# Dvi: latex (latex2e), bibtex, makeindex, dviselect (package RPM dviutils)
11
# Ps: dvips, psutils (ftp://ftp.dcs.ed.ac.uk/pub/ajcd/psutils.tar.gz)
14
# - hevea: http://para.inria.fr/~maranget/hevea/
15
# - htmlSplit: http://coq.inria.fr/~delahaye
16
# Rapports INRIA: dviselect, rrkit (par Michel Mauny)
23
# Fabrication d'un RT INRIA (utilise rrkit de Michel Mauny)
24
rt/Reference-Manual-RT.dvi: refman/Reference-Manual.dvi rt/RefMan-cover.tex
25
dviselect -i refman/Reference-Manual.dvi -o rt/RefMan-body.dvi 3:
26
(cd rt; $(LATEX) RefMan-cover.tex)
27
set a=`tail -1 refman/Reference-Manual.log`;\
28
set a=expr \("$$a" : '.*(\(.*\) pages.*'\) % 2;\
29
(cd rt; if $(TEST) "$$a = 0";\
30
then rrkit RefMan-cover.dvi RefMan-body.dvi Reference-Manual-RT.dvi;\
31
else rrkit -odd RefMan-cover.dvi RefMan-body.dvi Reference-Manual-RT.dvi;\
34
# Fabrication d'un RT INRIA (utilise rrkit de Michel Mauny)
35
rt/Tutorial-RT.dvi : tutorial/Tutorial.v.dvi rt/Tutorial-cover.tex
36
dviselect -i rt/Tutorial.v.dvi -o rt/Tutorial-body.dvi 3:
37
(cd rt; $(LATEX) Tutorial-cover.tex)
38
set a=`tail -1 tutorial/Tutorial.v.log`;\
39
set a=expr \("$$a" : '.*(\(.*\) pages.*'\) % 2;\
40
(cd rt; if $(TEST) "$$a = 0";\
41
then rrkit Tutorial-cover.dvi Tutorial-body.dvi Tutorial-RT.dvi;\
42
else rrkit -odd Tutorial-cover.dvi Tutorial-body.dvi Tutorial-RT.dvi;\