### annotate Makefile @ 370:549d604c3d16

Move exercises out of mainline book
author Adam Chlipala Fri, 02 Mar 2012 09:58:00 -0500 3322367e955d d5112c099fbf
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 \
adamc@22 6 MODULES_DOC := \$(MODULES_PROSE) \$(MODULES_CODE)
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@311 32 cd src ; coqdoc --interpolate --latex --body-only -s \
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
adamc@206 43 cd src ; coqdoc --interpolate \$(VS_DOC) \
adamc@22 50 ocaml tools/make_template.ml <\$< >\$@
adamc@39 53 hg archive -t tgz \$@