resume: cleanup Makefile
This commit is contained in:
parent
a4bd3a867a
commit
72187d635b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user