Experimental epub support
[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         # no bibtex citations atm
9         #bibtex applied-crypto-hardening
10         #latex applied-crypto-hardening
11         pdflatex applied-crypto-hardening
12         #dvipdfm -z 9 applied-crypto-hardening
13         #dvipdf applied-crypto-hardening.dvi
14
15 html:
16         latex2html applied-crypto-hardening
17
18 md:
19         pandoc -f latex -t markdown -o  applied-crypto-hardening.markdown applied-crypto-hardening.tex
20
21 #epub:
22          # experimental
23 #        ~/Library/texmf/tex/latex/tex4ebook/tex4ebook applied-crypto-hardening.tex
24
25 epub:
26  # experimental
27         pandoc -f latex -t epub -o applied-crypto-hardening.epub applied-crypto-hardening.tex
28
29 clean:
30         rm -f applied-crypto-hardening.aux applied-crypto-hardening.bbl applied-crypto-hardening.blg applied-crypto-hardening.dvi applied-crypto-hardening.log applied-crypto-hardening.pdf applied-crypto-hardening.toc applied-crypto-hardening.markdown
31         rm -rf applied-crypto-hardening/
32         rm -rf gitHeadInfo.gin