Adding a makefile.
authorMatt Lawrence <m3lawren@uwaterloo.ca>
Tue, 7 Oct 2008 15:33:58 +0000 (11:33 -0400)
committerMatt Lawrence <m3lawren@uwaterloo.ca>
Tue, 7 Oct 2008 15:33:58 +0000 (11:33 -0400)
Signed-off-by: Matt Lawrence <m3lawren@uwaterloo.ca>
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..4794cd9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+%.pdf: %.tex
+       pdflatex $<
+       pdflatex $<
+
+%.man: %.pod
+       pod2man $< $@
+
+%.tex: %.pod
+       pod2latex -full $<
+
+documents-editing-etc.tex: documents-editing-etc.pod documents-editing-etc.preamble.tex
+       pod2latex -full -prefile documents-editing-etc.preamble.tex documents-editing-etc.pod