names the pdf at the end

This commit is contained in:
2021-01-14 15:19:08 -06:00
parent 37888fe02e
commit dbcbc9722e

View File

@@ -10,7 +10,7 @@ SCRIPT_DIR := scripts
# OUTPUTS := $(patsubst tex/%.tex, pdfs/%.pdf,$(SOURCES))
all: pdfs/main.pdf
all: pdfs/os-free-energy-notes.pdf
.PHONY: all tidy clean declutter
@@ -43,7 +43,7 @@ USED_FIGS := $(addprefix $(FIG_DIR)/, $(USED_FIG_NAMES))
$(USED_FIGS): $(FIG_DIR)/%.jpg: $(SCRIPT_DIR)/%.wls | $(FIG_DIR)
$(WS) $<
pdfs/main.pdf: main.tex bibliography.bib $(USED_FIGS)| $(PDF_DIR)
pdfs/os-free-energy-notes.pdf: main.tex bibliography.bib $(USED_FIGS)| $(PDF_DIR)
$(LATEXMK) $(<F)
cp $(@F) $@