comparison Makefile @ 3:2451c4f0822c

Updated Makefile to generate pdf version.
author Brian Neal <bgneal@gmail.com>
date Tue, 03 May 2011 22:22:43 -0500
parents b294d8923050
children cf64f4740040
comparison
equal deleted inserted replaced
2:472ce1a0728b 3:2451c4f0822c
1 all: resume.html resume-fragment.html 1 all: resume.html resume-fragment.html resume.pdf
2 .PHONY: all 2 .PHONY: all
3 3
4 resume.html: resume.rst 4 resume.html: resume.rst
5 rst2html resume.rst > resume.html 5 rst2html resume.rst > resume.html
6 6
7 resume-fragment.html: resume.rst 7 resume-fragment.html: resume.rst
8 rst2html --initial-header-level=2 --cloak-email-addresses resume.rst > resume-fragment.html 8 rst2html --initial-header-level=2 --cloak-email-addresses resume.rst > resume-fragment.html
9 9
10 resume.pdf: resume.rst
11 rst2pdf resume.rst -o resume.pdf
12
10 .PHONY: clean 13 .PHONY: clean
11 clean: 14 clean:
12 rm resume.html resume-fragment.html 15 rm resume.html resume-fragment.html resume.pdf