frap/Makefile

31 lines
655 B
Makefile
Raw Normal View History

2016-02-02 18:53:00 +00:00
.PHONY: all coq install
2015-12-31 20:44:34 +00:00
all: frap_book.pdf coq
2015-12-31 20:44:34 +00:00
frap_book.pdf: frap_book.tex Makefile
pdflatex frap_book
pdflatex frap_book
makeindex frap_book
pdflatex frap_book
pdflatex frap_book
2015-12-31 20:44:34 +00:00
coq: Makefile.coq
$(MAKE) -f Makefile.coq
Makefile.coq: Makefile _CoqProject *.v
coq_makefile -f _CoqProject -o Makefile.coq
clean:: Makefile.coq
$(MAKE) -f Makefile.coq clean
rm -f Makefile.coq
2016-02-02 18:53:00 +00:00
2016-02-02 18:55:33 +00:00
frap.tgz: Makefile _CoqProject *.v *.tex *.html
git archive --format=tar.gz HEAD >frap.tgz
2016-02-02 18:53:00 +00:00
WHERE=chlipala.net:sites/chlipala/adam/frap/
install: index.html frap_book.pdf frap.tgz
rsync frap_book.pdf $(WHERE)
2016-02-02 18:53:00 +00:00
rsync frap.tgz $(WHERE)
rsync index.html $(WHERE)