diff --git a/about/Makefile b/about/Makefile index 7037c43..b80d18b 100644 --- a/about/Makefile +++ b/about/Makefile @@ -1,9 +1,24 @@ -all: - echo "Creating html from md..." - pandoc -c resume.css --from markdown --to html -o resume.html resume.md - echo "Finished. Creating pdf from html..." - wkhtmltopdf resume.html resume.pdf - echo "Finished. Creating docx from md..." - pandoc --from markdown --to docx --reference-doc=reference.docx -o resume.docx resume.md - echo "Finished." +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 --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 *.html *.pdf *.docx *.txt