changeset 14:d0f34c9c8a76 201112

Added a makefile rule to build a pdf. Added a config file for pdf building. Ignore .pdf files.
author Brian Neal <bgneal@gmail.com>
date Mon, 05 Dec 2011 18:50:33 -0600
parents 3547bba86af2
children 70e53cce4ad0
files .hgignore Makefile slides_pdf.cfg
diffstat 3 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Wed Nov 30 18:46:32 2011 -0600
+++ b/.hgignore	Mon Dec 05 18:50:33 2011 -0600
@@ -1,3 +1,4 @@
 syntax: glob
 *.pyc
 *.swp
+*.pdf
--- a/Makefile	Wed Nov 30 18:46:32 2011 -0600
+++ b/Makefile	Mon Dec 05 18:50:33 2011 -0600
@@ -4,6 +4,9 @@
 slides.html: slides.rst slides.css slides.cfg
 	landslide slides.cfg
 
+slides.pdf: slides.rst slides.css slides_pdf.cfg
+	landslide slides_pdf.cfg
+
 .PHONY: clean
 clean:
-	rm slides.html
+	rm slides.html slides.pdf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/slides_pdf.cfg	Mon Dec 05 18:50:33 2011 -0600
@@ -0,0 +1,7 @@
+[landslide]
+source = slides.rst
+destination = slides.pdf
+css = slides.css
+relative = True
+linenos = inline
+theme = ./my_theme