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