add pre-parsing inline includer for pdf
[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/vector_isas.tex sv/vector_isa_comparison.mdwn
11 pandoc -f markdown -t latex --top-level-division=section \
12 --filter pandoc_img.py \
13 -N -o tex_out/overview.tex sv/overview.mdwn
14 pandoc -f markdown -t latex --top-level-division=section \
15 --filter pandoc_img.py \
16 -N -o tex_out/svp64.tex sv/svp64.mdwn
17 pandoc -f markdown -t latex --top-level-division=section \
18 --filter pandoc_img.py \
19 -N -o tex_out/svp64_appendix.tex sv/svp64/appendix.mdwn
20 pandoc -f markdown -t latex --top-level-division=section \
21 --filter pandoc_img.py \
22 -N -o tex_out/compliancy_levels.tex sv/compliancy_levels.mdwn
23 pandoc -f markdown -t latex --top-level-division=section \
24 --filter pandoc_img.py \
25 -N -o tex_out/svp64_quirks.tex sv/svp64_quirks.mdwn
26 pandoc -f markdown -t latex --top-level-division=section \
27 --filter pandoc_img.py \
28 -N -o tex_out/sprs.tex sv/sprs.mdwn
29 pandoc -f markdown -t latex --top-level-division=section \
30 --filter pandoc_img.py \
31 -N -o tex_out/opcode_regs_deduped.tex opcode_regs_deduped.mdwn
32 pandoc -f markdown -t latex --top-level-division=section \
33 --filter pandoc_img.py \
34 -N -o tex_out/normal.tex sv/normal.mdwn
35 pandoc -f markdown -t latex --top-level-division=section \
36 --filter pandoc_img.py \
37 -N -o tex_out/ldst.tex sv/ldst.mdwn
38 pandoc -f markdown -t latex --top-level-division=section \
39 --filter pandoc_img.py \
40 -N -o tex_out/branches.tex sv/branches.mdwn
41 pandoc -f markdown -t latex --top-level-division=section \
42 --filter pandoc_img.py \
43 -N -o tex_out/cr_ops.tex sv/cr_ops.mdwn
44 pandoc -f markdown -t latex --top-level-division=section \
45 --filter pandoc_img.py \
46 -N -o tex_out/setvl.tex sv/setvl.mdwn
47 pandoc -f markdown -t latex --top-level-division=section \
48 --filter pandoc_img.py \
49 -N -o tex_out/svstep.tex sv/svstep.mdwn
50 ./mdwn_inline.py sv/remap.mdwn tex_out/remap.mdwn
51 pandoc -f markdown -t latex --top-level-division=section \
52 --filter pandoc_img.py \
53 -N -o tex_out/remap.tex tex_out/remap.mdwn
54 pandoc -f markdown -t latex --top-level-division=section \
55 --filter pandoc_img.py \
56 -N -o tex_out/mv_swizzle.tex sv/mv.swizzle.mdwn
57 pandoc -f markdown -t latex --top-level-division=section \
58 --filter pandoc_img.py \
59 -N -o tex_out/mv_vec.tex sv/mv.vec.mdwn
60 pandoc -f markdown -t latex --top-level-division=section \
61 --filter pandoc_img.py \
62 -N -o tex_out/pseudocode_simplev.tex \
63 ../../openpower-isa/openpower/isa/simplev.mdwn
64 pandoc -f markdown -t latex --top-level-division=section \
65 --filter pandoc_img.py \
66 -N -o tex_out/vector_ops.tex sv/vector_ops.mdwn
67 pandoc -f markdown -t latex --top-level-division=section \
68 --filter pandoc_img.py \
69 -N -o tex_out/cr_int_predication.tex sv/cr_int_predication.mdwn
70 ./mdwn_inline.py sv/bitmanip.mdwn tex_out/bitmanip.mdwn
71 pandoc -f markdown -t latex --top-level-division=section \
72 --filter pandoc_img.py \
73 -N -o tex_out/bitmanip.tex tex_out/bitmanip.mdwn
74 pandoc -f markdown -t latex --top-level-division=section \
75 --filter pandoc_img.py \
76 -N -o tex_out/fcvt.tex sv/fcvt.mdwn
77 pandoc -f markdown -t latex --top-level-division=section \
78 --filter pandoc_img.py \
79 -N -o tex_out/fclass.tex sv/fclass.mdwn
80 pandoc -f markdown -t latex --top-level-division=section \
81 --filter pandoc_img.py \
82 -N -o tex_out/int_fp_mv.tex sv/int_fp_mv.mdwn
83 pandoc -f markdown -t latex --top-level-division=section \
84 --filter pandoc_img.py \
85 -N -o tex_out/av_opcodes.tex sv/av_opcodes.mdwn
86 pandoc -f markdown -t latex --top-level-division=section \
87 --filter pandoc_img.py \
88 -N -o tex_out/big_integer.tex sv/biginteger.mdwn
89 pandoc -f markdown -t latex --top-level-division=section \
90 --filter pandoc_img.py \
91 -N -o tex_out/big_integer_analysis.tex sv/biginteger/analysis.mdwn
92 pandoc -f markdown -t latex --top-level-division=section \
93 --filter pandoc_img.py \
94 -N -o tex_out/pseudocode_svfixedarith.tex \
95 ../../openpower-isa/openpower/isa/svfixedarith.mdwn
96 pandoc -f markdown -t latex --top-level-division=section \
97 --filter pandoc_img.py \
98 -N -o tex_out/pseudocode_svfparith.tex \
99 ../../openpower-isa/openpower/isa/svfparith.mdwn
100
101
102 pdf:
103 pdflatex -synctex=1 -interaction=nonstopmode simple_v_spec.tex
104
105 upload: tex pdf
106 rsync -HPavz simple_v_spec.pdf \
107 libre-soc.org:/var/www/ftp.libre-riscv.org