changeset 3:2451c4f0822c

Updated Makefile to generate pdf version.
author Brian Neal <bgneal@gmail.com>
date Tue, 03 May 2011 22:22:43 -0500
parents 472ce1a0728b
children eb5dbd7fbebf
files .hgignore Makefile
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Wed Apr 27 20:43:21 2011 -0500
+++ b/.hgignore	Tue May 03 22:22:43 2011 -0500
@@ -2,3 +2,4 @@
 *.swp
 *.pyc
 *.html
+*.pdf
--- a/Makefile	Wed Apr 27 20:43:21 2011 -0500
+++ b/Makefile	Tue May 03 22:22:43 2011 -0500
@@ -1,4 +1,4 @@
-all: resume.html resume-fragment.html
+all: resume.html resume-fragment.html resume.pdf
 .PHONY: all
 
 resume.html: resume.rst
@@ -7,6 +7,9 @@
 resume-fragment.html: resume.rst
 	rst2html --initial-header-level=2 --cloak-email-addresses resume.rst > resume-fragment.html
 
+resume.pdf: resume.rst
+	rst2pdf resume.rst -o resume.pdf
+
 .PHONY: clean
 clean:
-	rm resume.html resume-fragment.html
+	rm resume.html resume-fragment.html resume.pdf