Targets for generating a PDF and a HTML page.

Signed-off-by: Pierre Ossman <oss...@cendio.se>
---

Index: Makefile
===================================================================
--- Makefile    (revision 0)
+++ Makefile    (revision 0)
@@ -0,0 +1,14 @@
+all: rfbproto.pdf rfbproto.html
+
+.SUFFIXES : .rst .pdf .html
+
+.rst.pdf:
+       mkdir -p tmp
+       rst2newlatex "$<" tmp/tmp.tex
+       (cd tmp; pdflatex tmp.tex)
+       # We need to run it twice for links and TOC to work
+       (cd tmp; pdflatex tmp.tex)
+       mv tmp/tmp.pdf "$@"
+
+.rst.html:
+       rst2html "$<" "$@"


-- 
Pierre Ossman            OpenSource-based Thin Client Technology
System Developer         Telephone: +46-13-21 46 00
Cendio AB                Web: http://www.cendio.com

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto

Reply via email to