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