22 lines
528 B
Makefile
22 lines
528 B
Makefile
SRC = part4.tex
|
|
AUX = part4.aux
|
|
DEL = part4.aux part4.bbl part4.blg part4.log part4.out part4_unicode.tex part4.pdf part4.tex texput.log
|
|
NAME = part4
|
|
|
|
part4:
|
|
@echo
|
|
@echo "=== Removing temporary files ==="
|
|
rm -f $(DEL)
|
|
@echo
|
|
@echo "=== Building from scratch ==="
|
|
emacs -batch part4_unicode.org -f org-latex-export-to-latex --kill
|
|
python3 ../conv.py part4_unicode.tex part4.tex
|
|
pdflatex $(SRC)
|
|
bibtex $(AUX)
|
|
pdflatex $(SRC)
|
|
pdflatex $(SRC)
|
|
@echo
|
|
@echo "=== All done. Generated $(NAME).pdf ==="
|
|
|
|
clean:
|
|
rm -f $(DEL)
|