2021-02-28 21:56:44 +01:00
|
|
|
TEX:= $(wildcard *.tex)
|
|
|
|
PDF:= pdf
|
2021-01-05 21:31:04 +01:00
|
|
|
|
2021-02-28 21:56:44 +01:00
|
|
|
.PHONY: image pdf etiquettepdf clean
|
2021-01-05 21:31:04 +01:00
|
|
|
setup:
|
|
|
|
sudo apt install imagemagick
|
|
|
|
tlmgr install cd-cover
|
|
|
|
|
2021-02-28 21:56:44 +01:00
|
|
|
image:
|
|
|
|
bash image.sh
|
|
|
|
|
|
|
|
$(PDF):
|
|
|
|
mkdir -p $@
|
|
|
|
|
|
|
|
etiquettepdf: pdf
|
|
|
|
for fichier in $$(find *.tex) ; do \
|
|
|
|
pdflatex -output-directory=$(PDF) -halt-on-error $$fichier ; \
|
|
|
|
done
|
2021-01-05 21:31:04 +01:00
|
|
|
|
2021-02-28 21:56:44 +01:00
|
|
|
clean:
|
|
|
|
rm -fr $(PDF)
|
|
|
|
rm -fr /image/final/
|