22 lines
503 B
Makefile
22 lines
503 B
Makefile
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 tesi_unicode.org -f org-latex-export-to-latex --kill
|
|
python3 conv.py tesi_unicode.tex tesi.tex
|
|
pdflatex $(SRC)
|
|
bibtex $(AUX)
|
|
pdflatex $(SRC)
|
|
pdflatex $(SRC)
|
|
@echo
|
|
@echo "=== All done. Generated $(NAME).pdf ==="
|
|
|
|
clean:
|
|
rm -f $(DEL)
|