Skip to content
Snippets Groups Projects
Verified Commit e03ae93d authored by Théo Pirkl's avatar Théo Pirkl :nail_care:
Browse files

Updates makefile

parent befe1185
Branches
No related tags found
No related merge requests found
......@@ -8,9 +8,6 @@ PDFOPTIONS += --template=./templates/default.latex
PDFOPTIONS += --top-level-division=chapter
PDFOPTIONS += --filter pandoc-citeproc
PDFOPTIONS_START = --template=./templates/extremely-blank.latex
PDFOPTIONS_START += --pdf-engine xelatex
MD=$(sort $(wildcard text/*.md))
PDF=$(patsubst %.md,%.pdf,$(MD))
TEX=$(patsubst %.md,%.tex,$(MD))
......@@ -18,10 +15,12 @@ TEX=$(patsubst %.md,%.tex,$(MD))
all: rapport.pdf
rapport.pdf: rapport.tex
pandoc -s $(OPTIONS) $(PDFOPTIONS_START) $^ -o $@
xelatex $^
xelatex $^
xelatex $^
rapport.tex: config.yaml $(MD)
pandoc -s $(OPTIONS) $(PDFOPTIONS) $^ -o $@
clean:
rm -rf rapport.pdf rapport.tex
\ No newline at end of file
rm -f rapport*
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment