2014-04-18 02:34:25 +04:00
|
|
|
MARKDOWN = Syntax.pdf CryptolPrims.pdf Version2Changes.pdf
|
|
|
|
BOOK = Cryptol.pdf
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: markdown book
|
|
|
|
|
2014-04-24 00:15:18 +04:00
|
|
|
Version2Table.pdf: Version2Table.md
|
2014-09-02 21:26:35 +04:00
|
|
|
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
|
|
|
|
2014-04-24 00:15:18 +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)
|