bug 1055: add fixed/fp load/store shifted to ls004
[libreriscv.git] / openpower / sv / rfc / Makefile
index acebf478d3d84c44a3ed41faedeb3ae2f1947db6..62d0cc31d97475fe1f1aead2733f00f9306f88dd 100644 (file)
@@ -2,7 +2,7 @@
 
 .SECONDARY:
 
-main_sources = $(wildcard ls[0-9][0-9][0-9].mdwn)
+main_sources = $(wildcard ls*.mdwn)
 pdfs = $(patsubst %.mdwn,%.pdf,$(main_sources))
 deps = $(patsubst %,tex_out/%.d,$(main_sources))
 
@@ -10,7 +10,9 @@ all: $(pdfs)
 
 ls012 = $(realpath ls012)
 
-$(ls012)/areas.mdwn $(ls012)/xo_cost.mdwn: ls012_optable.py ls012/optable.csv
+$(ls012)/areas.mdwn $(ls012)/xo_cost.mdwn \
+$(ls012)/level.mdwn: ls012_optable.py ls012/optable.csv
+       @echo making optables
        python3 ls012_optable.py
 
 tex_out/%.mdwn.d: %.mdwn ../../mdwn_inline.py
@@ -23,9 +25,14 @@ tex_out/%.mdwn: %.mdwn ../../mdwn_inline.py
 
 %.pdf: tex_out/%.mdwn ../../pandoc_img.py
        pandoc \
+               --pdf-engine=xelatex \
+           -V 'mainfont:DejaVuSerif' \
+           -V 'sansfont:DejaVuSans' \
+           -V 'monofont:DejaVuSansMono' \
+           -V 'mathfont:Latin Modern Math' \
                --filter ../../pandoc_img.py \
-               -V margin-top=0.9in \
-               -V margin-bottom=0.9in \
+               -V margin-top=0.6in \
+               -V margin-bottom=0.6in \
                -V margin-left=0.4in \
                -V margin-right=0.4in \
                -V fontsize=9pt \