### annotate Makefile @ 489:a95af5a59990

Exercises online
author Adam Chlipala Tue, 08 Jan 2013 15:48:32 -0500 39c204d2262c 929c12a95b87
rev   line source
adam@314 1 MODULES_NODOC := CpdtTactics MoreSpecif DepList
adam@353 3 MODULES_CODE := StackMachine InductiveTypes Predicates Coinductive Subset GeneralRec \
adam@324 4 MoreDep DataStruct Equality Generic Universes LogicProg Match Reflection \
adam@383 6 MODULES_DOC := \$(MODULES_PROSE) \$(MODULES_CODE) Conclusion
adamc@3 7 MODULES := \$(MODULES_NODOC) \$(MODULES_DOC)
adam@307 13 .PHONY: coq clean doc html templates install cpdt.tgz pdf
adamc@215 20 COQC = "coqc -I src" \
adamc@89 21 COQDEP = "coqdep -I src" \
adam@305 25 \$(MAKE) -f Makefile.coq clean
adam@311 26 rm -f Makefile.coq .depend cpdt.tgz templates/*.v
adam@320 27 cd latex; rm -f *.sty *.log *.aux *.dvi *.v.tex *.toc *.bbl *.blg *.idx *.ilg *.pdf *.ind *.out
adam@311 31 latex/%.v.tex: Makefile src/%.v src/%.glob
adam@473 32 cd src ; coqdoc --interpolate --latex --body-only -s --no-externals \
adam@311 35 latex/cpdt.pdf: latex/cpdt.tex \$(TEX) latex/cpdt.bib
adam@311 36 cd latex ; pdflatex cpdt ; pdflatex cpdt ; bibtex cpdt ; makeindex cpdt ; pdflatex cpdt ; pdflatex cpdt
adam@306 39 cd latex ; pdflatex \$* ; pdflatex \$* ; bibtex \$* ; makeindex \$* ; pdflatex \$* ; pdflatex \$*
adamc@39 41 html: Makefile \$(VS) src/toc.html
adam@473 43 cd src ; coqdoc --interpolate --no-externals \$(VS_DOC) \
adamc@22 50 ocaml tools/make_template.ml <\$< >\$@
adamc@39 53 hg archive -t tgz \$@
adam@489 55 install: cpdt.tgz latex/cpdt.pdf latex/exercises.pdf html