Makefile : Simpler inner_pdf target

This commit is contained in:
saundersp 2024-12-03 18:23:02 +01:00
parent 7af7ed82f4
commit 7852b493d2

View File

@ -31,12 +31,13 @@ references: $(REFERENCES)
bibtex $(OUT_DIR)/annexes
bibtex $(OUT_DIR)/references
.PHONY: --inner_pdf
--inner_pdf: $(CONTENTS) $(PACKAGES) $(REFERENCES) $(GRAPHS)
.PHONY: inner_pdf
inner_pdf: $(CONTENTS) $(PACKAGES) $(REFERENCES) $(GRAPHS) | $(OUT_DIR)
pdflatex -output-directory $(OUT_DIR) main.tex
.PHONY: pdf
pdf: $(GRAPHS_IMG) --inner_pdf references index --inner_pdf references --inner_pdf
pdf: graphs inner_pdf references index
make inner_pdf
.PHONY: preview
preview: pdf