diff --git a/Makefile b/Makefile index b4ae4b2..75ba2cf 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,11 @@ OUT_DIR := out GRAPHS_DIR := graphs CONTENTS_DIR := contents +PACKAGES_DIR := packages REFERENCES_DIR := references -CONTENTS := $(wildcard $(CONTENTS)/*.tex) +CONTENTS := $(wildcard $(CONTENTS_DIR)/*.tex) +PACKAGES := $(wildcard $(PACKAGES_DIR)/*.sty) REFERENCES := $(wildcard $(REFERENCES_DIR)/*.bib) GRAPHS := $(wildcard $(GRAPHS_DIR)/*.gv) GRAPHS_IMG := $(GRAPHS:$(GRAPHS_DIR)/%.gv=$(OUT_DIR)/%.gv.png) @@ -29,11 +31,12 @@ references: $(REFERENCES) bibtex $(OUT_DIR)/annexes bibtex $(OUT_DIR)/references ---inner_pdf: +.PHONY: --inner_pdf +--inner_pdf: $(CONTENTS) $(PACKAGES) $(REFERENCES) $(GRAPHS) pdflatex -output-directory $(OUT_DIR) main.tex .PHONY: pdf -pdf: $(GRAPHS_IMG) --inner_pdf references index --inner_pdf +pdf: $(GRAPHS_IMG) --inner_pdf references index --inner_pdf references --inner_pdf .PHONY: preview preview: pdf