SRC = 2.tex AUX = 2.aux DEL = 2.aux 2.bbl 2.blg 2.log 2.out 2_unicode.tex 2.pdf 2.tex texput.log 2.pn.aux 2.pn.out 2.toc 2.pn.log 2.pn.tex 2.pn.toc 2.tex 2.pn.tex 2.accenti.org NAME = pn tesi: @echo @echo "=== Removing temporary files ===" rm -f $(DEL) @echo @echo "=== Building from scratch ===" accenti 2.pn.org > 2.accenti.org emacs -batch 2.accenti.org -f org-latex-export-to-latex --kill && mv 2.accenti.tex 2.pn.tex python3 ../conv/conv.py 2.pn.tex 2.tex pdflatex $(SRC) @echo @echo "=== All done. Generated $(NAME).pdf ===" clean: rm -f $(DEL)