Fixed some of the links, but getting there
[libreriscv.git] / openpower / Makefile
1 #!/usr/bin/make -f
2
3 tex:
4 mkdir -p tex_out
5 pandoc -f markdown -t latex --top-level-division=section \
6 --filter pandoc_img.py \
7 -N -o tex_out/sv.tex sv.mdwn
8 pandoc -f markdown -t latex --top-level-division=section \
9 --filter pandoc_img.py \
10 -N -o tex_out/overview.tex sv/overview.mdwn
11 pandoc -f markdown -t latex --top-level-division=section \
12 --filter pandoc_img.py \
13 -N -o tex_out/svp64.tex sv/svp64.mdwn
14 pandoc -f markdown -t latex --top-level-division=section \
15 --filter pandoc_img.py \
16 -N -o tex_out/svp64_appendix.tex sv/svp64/appendix.mdwn
17 pandoc -f markdown -t latex --top-level-division=section \
18 --filter pandoc_img.py \
19 -N -o tex_out/compliancy_levels.tex sv/compliancy_levels.mdwn
20 pandoc -f markdown -t latex --top-level-division=section \
21 --filter pandoc_img.py \
22 -N -o tex_out/svp64_quirks.tex sv/svp64_quirks.mdwn
23 pandoc -f markdown -t latex --top-level-division=section \
24 --filter pandoc_img.py \
25 -N -o tex_out/sprs.tex sv/sprs.mdwn
26 pandoc -f markdown -t latex --top-level-division=section \
27 --filter pandoc_img.py \
28 -N -o tex_out/opcode_regs_deduped.tex opcode_regs_deduped.mdwn
29 pandoc -f markdown -t latex --top-level-division=section \
30 --filter pandoc_img.py \
31 -N -o tex_out/normal.tex sv/normal.mdwn
32 pandoc -f markdown -t latex --top-level-division=section \
33 --filter pandoc_img.py \
34 -N -o tex_out/ldst.tex sv/ldst.mdwn
35 pandoc -f markdown -t latex --top-level-division=section \
36 --filter pandoc_img.py \
37 -N -o tex_out/branches.tex sv/branches.mdwn
38 pandoc -f markdown -t latex --top-level-division=section \
39 --filter pandoc_img.py \
40 -N -o tex_out/cr_ops.tex sv/cr_ops.mdwn
41 pandoc -f markdown -t latex --top-level-division=section \
42 --filter pandoc_img.py \
43 -N -o tex_out/setvl.tex sv/setvl.mdwn
44 pandoc -f markdown -t latex --top-level-division=section \
45 --filter pandoc_img.py \
46 -N -o tex_out/svstep.tex sv/svstep.mdwn
47 pandoc -f markdown -t latex --top-level-division=section \
48 --filter pandoc_img.py \
49 -N -o tex_out/remap.tex sv/remap.mdwn
50 pandoc -f markdown -t latex --top-level-division=section \
51 --filter pandoc_img.py \
52 -N -o tex_out/mv_swizzle.tex sv/mv.swizzle.mdwn
53 pandoc -f markdown -t latex --top-level-division=section \
54 --filter pandoc_img.py \
55 -N -o tex_out/mv_vec.tex sv/mv.vec.mdwn
56 pandoc -f markdown -t latex --top-level-division=section \
57 --filter pandoc_img.py \
58 -N -o tex_out/pseudocode_simplev.tex \
59 ../../openpower-isa/openpower/isa/simplev.mdwn
60
61
62 pdf:
63 pdflatex -synctex=1 -interaction=nonstopmode simple_v_spec.tex
64
65 upload: tex pdf
66 rsync -HPavz simple_v_spec.pdf \
67 libre-soc.org:/var/www/ftp.libre-riscv.org