2020-05-21 13:57:43 +02:00
|
|
|
SRC = 2.tex
|
|
|
|
AUX = 2.aux
|
2020-05-22 00:15:00 +02:00
|
|
|
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
|
2020-05-21 13:57:43 +02:00
|
|
|
NAME = pn
|
|
|
|
|
|
|
|
tesi:
|
|
|
|
@echo
|
|
|
|
@echo "=== Removing temporary files ==="
|
|
|
|
rm -f $(DEL)
|
|
|
|
@echo
|
|
|
|
@echo "=== Building from scratch ==="
|
2020-05-22 00:15:00 +02:00
|
|
|
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
|
2020-05-21 13:57:43 +02:00
|
|
|
python3 ../conv/conv.py 2.pn.tex 2.tex
|
|
|
|
pdflatex $(SRC)
|
|
|
|
@echo
|
|
|
|
@echo "=== All done. Generated $(NAME).pdf ==="
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(DEL)
|