Makefile 575 B

12345678910111213141516171819202122232425262728
  1. all: html pdf docx rtf
  2. pdf: resume.md
  3. pandoc --standalone --template style_chmduquesne.tex \
  4. --from markdown --to context \
  5. -V papersize=A4 \
  6. -o resume.tex resume.md; \
  7. context resume.tex
  8. html: style_chmduquesne.css resume.md
  9. pandoc --standalone -H style_chmduquesne.css \
  10. --from markdown --to html \
  11. -o resume.html resume.md
  12. docx: resume.md
  13. pandoc -s -S resume.md -o resume.docx
  14. rtf: resume.md
  15. pandoc -s -S resume.md -o resume.rtf
  16. clean:
  17. rm resume.html
  18. rm resume.tex
  19. rm resume.tuc
  20. rm resume.log
  21. rm resume.pdf
  22. rm resume.docx
  23. rm resume.rtf