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.b.aux 2.b.out 2.toc 2.b.log 2.b.tex 2.b.toc 2.tex 2.b.tex NAME = b tesi: @echo @echo "=== Removing temporary files ===" rm -f $(DEL) @echo @echo "=== Building from scratch ===" emacs -batch 2.b.org -f org-latex-export-to-latex --kill python3 ../conv/conv.py 2.b.tex 2.tex pdflatex $(SRC) @echo @echo "=== All done. Generated $(NAME).pdf ===" clean: rm -f $(DEL)