Initial commit

This commit is contained in:
bel
2020-09-13 09:30:18 -06:00
commit e89c2d14a8
11 changed files with 328 additions and 0 deletions

19
resume.md-main/Makefile Executable file
View File

@@ -0,0 +1,19 @@
.PHONY: resume watch clean
resume: resume.pdf resume.html
watch:
ls *.md *.css | entr make resume
name := $(shell grep "^\#" resume.md | head -1 | sed -e 's/^\#[[:space:]]*//' | xargs)
resume.html: preamble.html resume.md postamble.html
cat preamble.html | sed -e 's/___NAME___/$(name)/' > $@
python3 -m markdown -x smarty resume.md >> $@
cat postamble.html >> $@
resume.pdf: resume.html resume.css
weasyprint resume.html resume.pdf
clean:
rm -f resume.html resume.pdf