hardware-init-review/Makefile

30 lines
588 B
Makefile
Raw Normal View History

2024-08-21 21:27:29 +02:00
.PHONY: clean distclean all force_update
2024-08-22 15:38:22 +02:00
.DELETE_ON_ERROR: $(DOC).pdf
2024-07-24 17:00:17 +02:00
2024-08-22 15:38:22 +02:00
XELATEX=xelatex -shell-escape -interaction=nonstopmode
2024-08-21 21:27:29 +02:00
DOC=hardware_init_review
all: $(DOC).pdf
2024-07-24 17:00:17 +02:00
clean:
rm -rf *.log *.bak *.out *.xml *.gz *.aux *.bcf *.blg
distclean: clean
2024-08-22 15:38:22 +02:00
rm -rf *.bbl *.lof *.lol *.pdf *.toc $(DOC).bibready
2024-07-24 17:00:17 +02:00
2024-08-21 21:27:29 +02:00
$(DOC).bibready:
$(XELATEX) $(DOC).tex
touch $(DOC).bibready
2024-07-24 17:00:17 +02:00
2024-08-21 21:27:29 +02:00
$(DOC).bbl: $(DOC).bibready bibliographie.bib
biber $(DOC)
2024-07-24 17:00:17 +02:00
2024-08-22 15:38:22 +02:00
$(DOC).aux:
$(XELATEX) $(DOC).tex
$(DOC).pdf: $(DOC).bbl $(DOC).aux *.tex listings/*
2024-08-21 21:27:29 +02:00
$(XELATEX) $(DOC).tex
2024-07-24 17:00:17 +02:00
2024-08-21 21:27:29 +02:00
force_update: $(DOC).toc
$(XELATEX) $(DOC).tex