-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (24 loc) · 703 Bytes
/
Makefile
File metadata and controls
29 lines (24 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Makefile for generating different formats of my resume
DOCS= docs
HTML= ${DOCS}/index.html
STYLE= ${DOCS}/style.css
#all: html pdf docx txt
html: index.html
index.html: ${HTML}
sed -i -f html.sed ${DOCS}/$@
pdf: ScottBennett_Resume.pdf
ScottBennett_Resume.pdf: ${HTML}
sed -f pdf.sed ${HTML} | wkhtmltopdf \
--no-pdf-compression \
--user-style-sheet ${DOCS}/pdf.css \
--disable-external-links \
--disable-javascript \
--margin-bottom 2 \
--margin-left 15 \
--margin-right 15 \
- ${DOCS}/$@
site: html docx
cp $(ST)/style.css ./docs/style/style.css
mv resume.html ./docs/index.html
# mv resume.pdf ./docs
mv resume.docx ./docs