25 lines
702 B
Makefile
25 lines
702 B
Makefile
all: resume.html resume.pdf resume.docx resume.txt
|
|
@echo "====Finished===="
|
|
|
|
resume.html: resume.md resume.css
|
|
@echo "====Creating html from md===="
|
|
pandoc --standalone -c resume.css --from markdown --to html -o resume.html resume.md
|
|
|
|
|
|
resume.pdf: resume.html
|
|
@echo "====Creating pdf from html===="
|
|
wkhtmltopdf --enable-local-file-access resume.html resume.pdf
|
|
|
|
|
|
resume.docx: resume.md
|
|
@echo "====Creating docx from md===="
|
|
pandoc --from markdown --reference-doc=reference.docx --to docx -o resume.docx resume.md
|
|
|
|
|
|
resume.txt: resume.md
|
|
@echo "====Creating txt from md===="
|
|
pandoc --from markdown --to plain -o resume.txt resume.md
|
|
|
|
clean:
|
|
rm -f resume.html resume.pdf resume.docx resume.txt
|