Create Makefile for hello world directory.
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sat, 5 Dec 2009 14:21:09 +0000 (12:21 -0200)
committerThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sat, 5 Dec 2009 14:21:09 +0000 (12:21 -0200)
01.hello/Makefile [new file with mode: 0644]

diff --git a/01.hello/Makefile b/01.hello/Makefile
new file mode 100644 (file)
index 0000000..3913174
--- /dev/null
@@ -0,0 +1,13 @@
+NAME = 01.hello
+
+all: $(NAME).pdf
+
+%.pdf: %.tex
+       pdflatex $<
+
+%.tex: %.xml ../beamer.xsl
+       xsltproc ../beamer.xsl $< > $@
+
+clean:
+       rm -f $(NAME).pdf $(NAME).tex $(NAME).aux $(NAME).log $(NAME).nav \
+               $(NAME).out $(NAME).snm $(NAME).toc