26 lines
469 B
Makefile
26 lines
469 B
Makefile
.PHONY: clean distclean all force_update
|
|
|
|
XELATEX=xelatex -shell-escape
|
|
DOC=hardware_init_review
|
|
|
|
all: $(DOC).pdf
|
|
|
|
clean:
|
|
rm -rf *.log *.bak *.out *.xml *.gz *.aux *.bcf *.blg
|
|
|
|
distclean: clean
|
|
rm -rf *.bbl *.pdf *.toc $(DOC).bibready
|
|
|
|
$(DOC).bibready:
|
|
$(XELATEX) $(DOC).tex
|
|
touch $(DOC).bibready
|
|
|
|
$(DOC).bbl: $(DOC).bibready bibliographie.bib
|
|
biber $(DOC)
|
|
|
|
$(DOC).pdf: $(DOC).bbl $(DOC).tex
|
|
$(XELATEX) $(DOC).tex
|
|
|
|
force_update: $(DOC).toc
|
|
$(XELATEX) $(DOC).tex
|