Browse Source

Merge pull request #8 from whym/master

Add output file names to Makefile
Mark Szepieniec 10 years ago
parent
commit
961bc04e51
1 changed files with 8 additions and 4 deletions
  1. 8 4
      Makefile

+ 8 - 4
Makefile

@@ -1,21 +1,25 @@
 all: html pdf docx rtf
 
-pdf: resume.md
+pdf: resume.pdf
+resume.pdf: resume.md
 	pandoc --standalone --template style_chmduquesne.tex \
 	--from markdown --to context \
 	-V papersize=A4 \
 	-o resume.tex resume.md; \
 	context resume.tex
 
-html: style_chmduquesne.css resume.md
+html: resume.html
+resume.html: style_chmduquesne.css resume.md
 	pandoc --standalone -H style_chmduquesne.css \
         --from markdown --to html \
         -o resume.html resume.md
 
-docx: resume.md
+docx: resume.docx
+resume.docx: resume.md
 	pandoc -s -S resume.md -o resume.docx
 
-rtf: resume.md
+rtf: resume.rtf
+resume.rtf: resume.md
 	pandoc -s -S resume.md -o resume.rtf
 
 clean: