reglement-interieur/Makefile

21 lines
332 B
Makefile
Raw Permalink Normal View History

2024-05-20 15:15:46 +02:00
.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*