mirror of
https://github.com/achlipala/frap.git
synced 2024-11-27 23:06:20 +00:00
30 lines
605 B
Makefile
30 lines
605 B
Makefile
.PHONY: all coq install
|
|
|
|
all: frap.pdf coq
|
|
|
|
frap.pdf: frap.tex Makefile
|
|
pdflatex frap
|
|
pdflatex frap
|
|
makeindex frap
|
|
pdflatex frap
|
|
pdflatex frap
|
|
|
|
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
|
|
|
|
frap.tgz: Makefile _CoqProject *.v *.tex *.html
|
|
git archive --format=tar.gz HEAD >frap.tgz
|
|
|
|
WHERE=chlipala.net:sites/chlipala/adam/frap/
|
|
|
|
install: index.html frap.pdf frap.tgz
|
|
rsync frap.pdf $(WHERE)
|
|
rsync frap.tgz $(WHERE)
|
|
rsync index.html $(WHERE)
|