cryptol/docs/Makefile

30 lines
548 B
Makefile
Raw Normal View History

2014-04-18 02:34:25 +04:00
MARKDOWN = Syntax.pdf CryptolPrims.pdf Version2Changes.pdf
BOOK = Cryptol.pdf
.PHONY: all
all: markdown book
Version2Table.pdf: Version2Table.md
pandoc -f markdown+tex_math_dollars -V geometry:"margin=0.25in" $^ -o $@
2014-04-18 02:34:25 +04:00
.PHONY: markdown
markdown: ${MARKDOWN}
.PHONY: book
book:
(cd ProgrammingCryptol; make)
2014-04-24 05:52:10 +04:00
cp ProgrammingCryptol/tmp/${BOOK} ./ProgrammingCryptol.pdf
2014-04-18 02:34:25 +04:00
%.pdf: %.md
2014-04-18 02:34:25 +04:00
pandoc $^ --toc -o $@
.PHONY: clean
clean:
rm -f ${MARKDOWN}
rm -f ${BOOK}
2015-09-15 23:38:06 +03:00
.PHONY: squeaky
squeaky:
rm -f ${MARKDOWN}
(cd ProgrammingCryptol; make squeaky)