Commit 6174adf9 authored by Adam Chlipala's avatar Adam Chlipala

Started revising Intro

parent ea0dc894
...@@ -9,7 +9,7 @@ VS := $(MODULES:%=src/%.v) ...@@ -9,7 +9,7 @@ VS := $(MODULES:%=src/%.v)
VS_DOC := $(MODULES_DOC:%=%.v) VS_DOC := $(MODULES_DOC:%=%.v)
TEMPLATES := $(MODULES_CODE:%=templates/%.v) TEMPLATES := $(MODULES_CODE:%=templates/%.v)
.PHONY: coq clean doc dvi html templates install cpdt.tgz .PHONY: coq clean doc html templates install cpdt.tgz
coq: Makefile.coq coq: Makefile.coq
$(MAKE) -f Makefile.coq $(MAKE) -f Makefile.coq
...@@ -24,28 +24,23 @@ clean:: Makefile.coq ...@@ -24,28 +24,23 @@ clean:: Makefile.coq
$(MAKE) -f Makefile.coq clean $(MAKE) -f Makefile.coq clean
rm -f Makefile.coq .depend cpdt.tgz \ rm -f Makefile.coq .depend cpdt.tgz \
latex/*.sty latex/cpdt.* templates/*.v latex/*.sty latex/cpdt.* templates/*.v
rm -f *.aux *.dvi *.log rm -f *.aux *.log
doc: latex/cpdt.dvi latex/cpdt.pdf html doc: latex/cpdt.pdf html
latex/cpdt.tex: Makefile $(VS) latex/cpdt.tex: Makefile $(VS) src/BackMatter.v latex/cpdt.bib
cd src ; coqdoc --interpolate --latex -s $(VS_DOC) \ cd src ; coqdoc --interpolate --latex -s $(VS_DOC) BackMatter.v \
-p "\usepackage{url,amsmath,amssymb}" \ -p "\usepackage{url}" \
-p "\title{Certified Programming with Dependent Types}" \
-p "\author{Adam Chlipala}" \
-p "\iffalse" \ -p "\iffalse" \
-o ../latex/cpdt.tex -o ../latex/cpdt.tex
latex/%.tex: src/%.v src/%.glob latex/%.tex: src/%.v src/%.glob
cd src ; coqdoc --interpolate --latex \ cd src ; coqdoc --interpolate --latex \
-p "\usepackage{url,amsmath,amssymb}" \ -p "\usepackage{url}" \
$*.v -o ../latex/$*.tex $*.v -o ../latex/$*.tex
latex/%.dvi: latex/%.tex latex/%.pdf: latex/%.tex latex/cpdt.bib
cd latex ; latex $* ; latex $* cd latex ; pdflatex $* ; pdflatex $* ; bibtex $* ; makeindex $* ; pdflatex $* ; pdflatex $*
latex/%.pdf: latex/%.dvi
cd latex ; pdflatex $* ; pdflatex $*
html: Makefile $(VS) src/toc.html html: Makefile $(VS) src/toc.html
mkdir -p html mkdir -p html
...@@ -53,9 +48,6 @@ html: Makefile $(VS) src/toc.html ...@@ -53,9 +48,6 @@ html: Makefile $(VS) src/toc.html
-d ../html -d ../html
cp src/toc.html html/ cp src/toc.html html/
dvi:
xdvi latex/cpdt
templates: $(TEMPLATES) templates: $(TEMPLATES)
templates/%.v: src/%.v tools/make_template.ml templates/%.v: src/%.v tools/make_template.ml
......
(** %\clearpage
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{plain}
\bibliography{cpdt}
\clearpage
\addcontentsline{toc}{chapter}{Index}
\printindex% *)
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment