more pdf makefile updates
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 4 Jul 2022 11:36:49 +0000 (12:36 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 4 Jul 2022 11:36:49 +0000 (12:36 +0100)
openpower/Makefile
openpower/simple_v_spec.tex

index ce694baf9577f35193af4a9e30f1d8ab7d29f7aa..6e90ef4f8b3e8df54b47344d0ad4c7e2a158afba 100755 (executable)
@@ -4,13 +4,12 @@ SOURCE_TEX := tex_out/remap.tex tex_out/bitmanip.tex tex_out/vector_ops.tex \
                 tex_out/pseudocode_svfparith.tex \
                 tex_out/pseudocode_fixedarith.tex \
                 tex_out/pseudocode_fixedlogical.tex \
-                 tex_out/pseudocode_svfixedarith.tex
+                tex_out/pseudocode_svfixedarith.tex \
+                tex_out/big_integer_analysis.tex \
+                tex_out/vector_isas.tex 
 
 tex: $(SOURCE_TEX)
        mkdir -p tex_out
-       pandoc -f markdown -t latex --top-level-division=section \
-               --filter pandoc_img.py \
-            -N -o tex_out/vector_isas.tex sv/vector_isa_comparison.mdwn
        pandoc -f markdown -t latex --top-level-division=section \
                --filter pandoc_img.py \
             -N -o tex_out/overview.tex sv/overview.mdwn
@@ -75,46 +74,62 @@ tex: $(SOURCE_TEX)
        pandoc -f markdown -t latex --top-level-division=section \
                --filter pandoc_img.py \
                        -N -o tex_out/big_integer.tex sv/biginteger.mdwn
+
+tex_out/vector_isas.tex : sv/vector_isa_comparison.mdwn
+       mkdir -p tex_out
+       pandoc -f markdown -t latex --top-level-division=section \
+               --filter pandoc_img.py \
+            -N -o tex_out/vector_isas.tex sv/vector_isa_comparison.mdwn
+
+tex_out/big_integer_analysis.tex : sv/biginteger/analysis.mdwn
+       mkdir -p tex_out
        pandoc -f markdown -t latex --top-level-division=section \
                --filter pandoc_img.py \
                        -N -o tex_out/big_integer_analysis.tex sv/biginteger/analysis.mdwn
 
 tex_out/pseudocode_fixedlogical.tex : ../../openpower-isa/openpower/isa/fixedlogical.mdwn
+       mkdir -p tex_out
        pandoc -f markdown -t latex --top-level-division=section \
                --filter pandoc_img.py \
                        -N -o tex_out/pseudocode_fixedlogical.tex \
                        ../../openpower-isa/openpower/isa/fixedlogical.mdwn
 
 tex_out/pseudocode_fixedarith.tex : ../../openpower-isa/openpower/isa/fixedarith.mdwn
+       mkdir -p tex_out
        pandoc -f markdown -t latex --top-level-division=section \
                --filter pandoc_img.py \
                        -N -o tex_out/pseudocode_fixedarith.tex \
                        ../../openpower-isa/openpower/isa/fixedarith.mdwn
 
 tex_out/pseudocode_svfixedarith.tex : ../../openpower-isa/openpower/isa/svfixedarith.mdwn
+       mkdir -p tex_out
        pandoc -f markdown -t latex --top-level-division=section \
                --filter pandoc_img.py \
                        -N -o tex_out/pseudocode_svfixedarith.tex \
                        ../../openpower-isa/openpower/isa/svfixedarith.mdwn
 
 tex_out/pseudocode_svfparith.tex : ../../openpower-isa/openpower/isa/svfparith.mdwn
+       mkdir -p tex_out
        pandoc -f markdown -t latex --top-level-division=section \
                --filter pandoc_img.py \
                        -N -o tex_out/pseudocode_svfparith.tex \
                        ../../openpower-isa/openpower/isa/svfparith.mdwn
 
 tex_out/sv.tex : sv.mdwn
+       mkdir -p tex_out
        pandoc -f markdown -t latex --top-level-division=section \
                --filter pandoc_img.py \
             -N -o tex_out/sv.tex sv.mdwn
 
 tex_out/svp64_appendix.tex: sv/svp64/appendix.mdwn
+       mkdir -p tex_out
        ./mdwn_inline.py sv/svp64/appendix.mdwn tex_out/appendix.mdwn
        pandoc -f markdown -t latex --top-level-division=section \
                --filter pandoc_img.py \
             -N -o tex_out/svp64_appendix.tex tex_out/appendix.mdwn
 
 tex_out/vector_ops.tex: sv/vector_ops.mdwn
+       mkdir -p tex_out
        ./mdwn_inline.py sv/vector_ops.mdwn tex_out/vector_ops.mdwn
        pandoc -f markdown -t latex --top-level-division=section \
                --filter pandoc_img.py \
index c7cda629f31a498d4ae3e4c649aaced27c8fc0a4..42605b57bb94dac68cd833e7bb6d5b699fa9d756 100644 (file)
@@ -126,6 +126,14 @@ This PDF may be created with "make pdf" from the following file:
     https://git.libre-soc.org/?p=libreriscv.git;a=blob;f=openpower/Makefile;hb=HEAD
 \end{verbatim}
 
+by executing the following commands:
+
+\begin{verbatim}
+    git clone https://git.libre-soc.org/git/libreriscv.git libresoc
+    cd libresoc/libresoc/openpower
+    make pdf
+\end{verbatim}
+
 Simple-V Cray-style Vectors have been developed by the Libre-SOC Team,
 sponsored by the NLnet Foundation and NGI POINTER under
 EU Grants 871528 and 957073.