chiark / gitweb /
wip Makefile etc.
[talk-2014-debconf-builds-bof.git] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..7f643c8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,26 @@
+
+SLIDES= reality
+
+SLIDEFILES=$(addsuffix .ps, $(SLIDES))
+
+o= >$@.new && mv -f $@.new $@
+
+all:   slides.pdf
+
+%.ps:   %.fig
+       iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
+       # wtf!
+       LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 <$@.1 $o
+
+%.ps:  %.lout
+       lout $< $o
+
+slides.ps: $(SLIDEFILES) Makefile
+       cat $(SLIDEFILES) $o
+
+slides.pdf:     slides.ps Makefile
+       ps2pdf $< $@
+
+install: slides.pdf talk.txt
+       rsync -vP $^ ijackson@chiark:public-html/2014/debconf-builds-talk/
+       git push ijackson@chiark:public-git/talk-2014-debconf-builds.git