30 lines
632 B
Makefile
30 lines
632 B
Makefile
.PHONY: clean distclean all force_update
|
|
.DELETE_ON_ERROR: $(DOC).pdf
|
|
|
|
XELATEX=xelatex -shell-escape -halt-on-error -interaction=nonstopmode
|
|
DOC=hardware_init_review
|
|
|
|
all: $(DOC).pdf
|
|
|
|
clean:
|
|
rm -rf *.log *.bak *.out *.xml *.gz *.aux *.bcf *.blg
|
|
|
|
distclean: clean
|
|
rm -rf *.bbl *.lof *.lol *.pdf *.toc $(DOC).bibready _minted-hardware_init_review
|
|
|
|
$(DOC).bibready:
|
|
$(XELATEX) $(DOC).tex
|
|
touch $(DOC).bibready
|
|
|
|
$(DOC).bbl: $(DOC).bibready bibliographie.bib
|
|
biber $(DOC)
|
|
|
|
$(DOC).aux:
|
|
$(XELATEX) $(DOC).tex
|
|
|
|
$(DOC).pdf: $(DOC).bbl $(DOC).aux *.tex listings/*
|
|
$(XELATEX) $(DOC).tex
|
|
|
|
force_update: $(DOC).toc
|
|
$(XELATEX) $(DOC).tex
|