Update makefile to reduce noise in output dir
Add notice of published artifact paths
This commit is contained in:
parent
97cb5388db
commit
f13cd071c0
13
Makefile
13
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user