Commit b058544f authored by Jules Saget's avatar Jules Saget
Browse files

Clean directory for the slides to come

parent bbfd90f3
......@@ -5,15 +5,19 @@
# https://stackoverflow.com/questions/12343428/latex-reference-and-makefile
#
.PHONY: all figs tables clean
.DELETE_ON_ERROR:
.DEFAULT_GOAL := main.pdf
.DEFAULT_GOAL := report.pdf
all: report.pdf slides.pdf
%.pdf %.aux %.idx: %.tex figs tables %.bbl
pdflatex -shell-escape $<
if grep 'Rerun to get ' $*.log ; then make $@ ; fi
if grep 'Rerun to get ' $*.log ; then $(MAKE) $@ ; fi
if grep 'There were undefined references' $*.log ; then exit 1 ; fi
if grep 'Please (re)run Biber' $*.log ; then make $*.bbl ; make $@ ; fi
if grep 'Please (re)run Biber' $*.log ; then $(MAKE) $*.bbl ; $(MAKE) $@ ; fi
%.bbl: %.bcf ref.bib
biber $*
......@@ -22,13 +26,13 @@
pdflatex -shell-escape $<
figs:
make -C figures
$(MAKE) -C figures
tables:
make -C tables
$(MAKE) -C tables
clean:
make -C figures clean
$(MAKE) -C figures clean
rm -f *.bbl
rm -f *.blg
rm -f *.out
......@@ -39,3 +43,7 @@ clean:
rm -f *.log
rm -f *.pdf
rm -f *.dvi
rm -rf _minted-*
rm -f *.lof
rm -f *.lot
rm -f *.lol
\newcommand{\mail}[1]{\href{mailto:#1}{#1}}
\def\referee{
Carl-Johan Seger\\
Octopi Team\\
\url{octopi.chalmers.se} \\
Chalmers tekniska högskola\\
Göteborg, Sweden\\
\mail{secarl@chalmers.se}\\
}
\newcommand{\HRule}[1]{\rule{\linewidth}{#1}}
\makeatletter
\def\printtitle{
{\centering \@title\par}}
\makeatother
\makeatletter
\def\printauthor{
{\centering \large \@author}}
\makeatother
\makeatletter
\def\printreferee{
{\centering \emph{Under the direction of}\\
\large \referee}}
\makeatother
\title{ \normalsize \textsc{École Normale Supérieure\\
Département d'Informatique\\
Stage de M1}
\\[2.0cm]
\HRule{0.5pt} \\
\huge \textbf{ --- CEPHALOPODE --- } \\
\LARGE \textbf{\uppercase{Design of execution unit in IoT functional
language processor}} \\
\Large \uppercase{Internship Report}
\HRule{2pt} \\[0.5cm]
\normalsize March -- July 2020
}
\author{
Jules Saget\\
École Normale Supérieure\\
Département d'Informatique\\
\mail{jules.saget@ens.fr}\\
}
\printtitle
\vfill
\printauthor
\vfill
\printreferee
\newpage
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment