30 lines
588 B
Makefile
30 lines
588 B
Makefile
.PHONY: clean distclean all force_update
|
|
.DELETE_ON_ERROR: $(DOC).pdf
|
|
|
|
XELATEX=xelatex -shell-escape -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
|
|
|
|
$(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
|