Start with BiBTeX (RNG section converted)
[ach-master.git] / src / Makefile
1 NOW := $(shell date)
2
3 all:    pdf html md
4
5 pdf:
6         ./update-metadata-for-gitinfo
7         pdflatex applied-crypto-hardening
8         bibtex applied-crypto-hardening
9         while grep -s "Rerun to get cross-references right" \
10         applied-crypto-hardening.log ; do \
11             pdflatex applied-crypto-hardening ; \
12         done
13         #dvipdfm -z 9 applied-crypto-hardening
14         #dvipdf applied-crypto-hardening.dvi
15
16 html:
17         latex2html applied-crypto-hardening
18
19 md:
20         pandoc -f latex -t markdown -o applied-crypto-hardening.markdown \
21             applied-crypto-hardening.tex
22
23 clean:
24         rm -f applied-crypto-hardening.aux applied-crypto-hardening.bbl \
25             applied-crypto-hardening.blg applied-crypto-hardening.dvi   \
26             applied-crypto-hardening.log applied-crypto-hardening.pdf   \
27             applied-crypto-hardening.toc applied-crypto-hardening.markdown
28         rm -rf applied-crypto-hardening/
29         rm -rf gitHeadInfo.gin