21 lines
332 B
Makefile
21 lines
332 B
Makefile
.PHONY: all clean
|
|
|
|
ARTICLES=$(shell cat ./table_des_matières)
|
|
|
|
all: ri.pdf
|
|
|
|
ri.md: $(ARTICLES)
|
|
cat $(ARTICLES) > ri.md
|
|
|
|
ri_partial.tex: ri.md
|
|
pandoc -t latex ri.md > ri_partial.tex
|
|
|
|
ri.tex: header.tex ri_partial.tex footer.tex
|
|
cat header.tex ri_partial.tex footer.tex > ri.tex
|
|
|
|
ri.pdf: ri.tex
|
|
xelatex ri.tex
|
|
|
|
clean:
|
|
rm -f ri*
|