From 1f713a57da06d3ecbb83a0913920619f0451eb3f Mon Sep 17 00:00:00 2001 From: Christian Dietrich Date: Tue, 14 Oct 2014 10:58:56 +0200 Subject: [PATCH] Include mandelbrot.{c,png} into TDS/Flat version --- Makefile | 4 ++++ source/avremu.tex | 4 ++-- source/mandelbrot.png | 1 + source/test-suite/test-suite | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) create mode 120000 source/mandelbrot.png diff --git a/Makefile b/Makefile index cce91f9..ddb734b 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,8 @@ avremu.zip: source/avremu.pdf cp source/test-suite/FOOTER avremu/source/latex/avremu/test-suite cp source/test-suite/HEADER avremu/source/latex/avremu/test-suite cp source/simple-testsuite.tex avremu/source/latex/avremu/ + cp source/avremu.tex avremu/source/latex/avremu/ + cp -L source/mandelbrot.png avremu/source/latex/avremu/ # Documenation directory mkdir -p avremu/doc/latex/avremu cp source/avremu.pdf avremu/doc/latex/avremu @@ -41,6 +43,8 @@ avremu.zip: source/avremu.pdf cp source/simple-testsuite.tex avremu/ cp source/avremu.tex avremu/ cp source/avremu.pdf avremu/ + cp -L source/mandelbrot.png avremu/ + cp source/test-suite/mandelbrot.c avremu/ cp README avremu/README zip -r avremu.zip avremu/ avremu.tds.zip diff --git a/source/avremu.tex b/source/avremu.tex index b90ffd1..4d2b5d6 100644 --- a/source/avremu.tex +++ b/source/avremu.tex @@ -74,10 +74,10 @@ precisely it implements the instruction-set architecture of the \texttt{ATmega8} \includegraphics[width=\linewidth]{mandelbrot.png} \end{lstlisting} \tcblower - This picture (128x128) took 6 hours to render. The source code can be found in the test-suite + This picture (250x250) took 44 hours to render. The source code can be found in the test-suite directory under mandelbrot.c.\\ - \includegraphics[width=\linewidth]{../imgs/mandelbrot-128x128} + \includegraphics[width=\linewidth]{mandelbrot} \end{tcolorbox} \section{Provided Commands} diff --git a/source/mandelbrot.png b/source/mandelbrot.png new file mode 120000 index 0000000..926c574 --- /dev/null +++ b/source/mandelbrot.png @@ -0,0 +1 @@ +../imgs/mandelbrot-250x250.png \ No newline at end of file diff --git a/source/test-suite/test-suite b/source/test-suite/test-suite index de237ad..f603600 100755 --- a/source/test-suite/test-suite +++ b/source/test-suite/test-suite @@ -106,7 +106,7 @@ do_test() # grab the actual output & exit value - stdbuf -oL pdflatex -halt-on-error -shell-escape "$file".tex 1> $file.output 2> $file.error + pdflatex -halt-on-error -shell-escape "$file".tex 1> $file.output 2> $file.error actual_exit_value=$? rm -f *.log *.aux