Commit 0b5fb14f authored by Florent Chehab's avatar Florent Chehab

Move to Makefile

parent 6cecae3b
$latex = 'latex -shell-escape';
$pdflatex = 'pdflatex -shell-escape';
TARGET=\
main.pdf
GENERATED_TEX= \
src/titlePage.tex \
src/content.tex \
GENERATED= $(GENERATED_TEX)
PDFLATEX=pdflatex -shell-escape -halt-on-error
main.pdf: main.tex $(GENERATED)
$(PDFLATEX) main.tex
bibtex main.aux
$(PDFLATEX) main.tex
$(PDFLATEX) main.tex
.SECONDARY: $(GENERATED)
.PHONY: clean mrproper
clean:
rm -f \
$(TARGET:%.pdf=%.aux) \
$(TARGET:%.pdf=%.out) \
$(TARGET:%.pdf=%.tdo) \
$(TARGET:%.pdf=%.toc) \
$(TARGET:%.pdf=%.log) \
$(TARGET:%.pdf=%.bbl) \
$(TARGET:%.pdf=%.blg) \
$(TARGET:%.pdf=%.fls) \
$(TARGET:%.pdf=%.run.xml) \
$(TARGET:%.pdf=%-blx.bib) \
mrproper: clean
rm -f \
$(TARGET) \
......@@ -41,12 +41,12 @@
\begin{document}
\subfile{src/titlePage}
\input{src/titlePage}
\tableofcontents %Commenter/supprimer pour enlever la table des matières
\clearpage
\subfile{src/content}
\input{src/content}
\[ \star \quad \star \quad \star \]
\clearpage
......
Markdown is supported
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