cryptol/docs/Makefile

25 lines
436 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
2014-04-18 02:34:25 +04:00
pandoc -f markdown+tex_math_dollars $^ -o $@
.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}