Update makefile to reduce noise in output dir

Add notice of published artifact paths
This commit is contained in:
Ethan Paul 2022-05-02 17:22:31 -04:00
parent 97cb5388db
commit f13cd071c0
No known key found for this signature in database
GPG Key ID: 6A337337DF6B5B1A

View File

@ -17,16 +17,17 @@ clean: ## Clean up temp resources
resume: ## Build the resume PDF
@mkdir --parents publish/
@xelatex -output-directory=publish/ resume.tex content/
@mkdir --parents build/
@xelatex -output-directory=build/ resume.tex content/
@mv build/resume.pdf publish/resume.pdf
@echo Publishable build artifact written to publish/resume.pdf
$(LETTERS):
@mkdir --parents publish/
@mkdir --parents build/
@cp letters/$@.tex build/coverletter-content.tex
@xelatex -output-directory=publish/ coverletter.tex build/
@mv publish/coverletter.pdf publish/coverletter-$@.pdf
@mv publish/coverletter.log publish/coverletter-$@.log
@mv publish/coverletter.out publish/coverletter-$@.out
@mv publish/coverletter.aux publish/coverletter-$@.aux
@xelatex -output-directory=build/ coverletter.tex build/
@mv build/coverletter.pdf publish/$@.pdf
@echo Publishable build artifact written to publish/$@.pdf
letters: $(LETTERS); ## Build all cover letters, or use <letter name> to build a specific letter