summaryrefslogtreecommitdiffstats
path: root/presentations/migrate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'presentations/migrate/Makefile')
-rw-r--r--presentations/migrate/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/presentations/migrate/Makefile b/presentations/migrate/Makefile
new file mode 100644
index 0000000..9d80c83
--- /dev/null
+++ b/presentations/migrate/Makefile
@@ -0,0 +1,38 @@
+PROJECT = fripost-2021-migrate
+
+ALL = \
+ $(PROJECT).43.pdf \
+ $(PROJECT).169.pdf \
+
+SRC = \
+ ../../wiki/e-post/migrate-google.mdwn \
+ beamer.sed \
+ meta.mdwn \
+ survey.mdwn \
+ header.tex \
+
+all: $(ALL)
+
+# Project compilation
+
+$(PROJECT).169.pdf: $(SRC)
+ cat $< | \
+ sed -f beamer.sed | \
+ pandoc -s -f markdown -t beamer -H header.tex -V aspectratio=169 -o $@
+
+$(PROJECT).43.pdf: $(SRC)
+ cat $< | \
+ sed -f beamer.sed | \
+ pandoc -s -f markdown -t beamer -H header.tex -V aspectratio=43 -o $@
+
+# For half way verification
+
+sed: $(SRC)
+ cat $< | \
+ sed -f beamer.sed | \
+ less
+
+# Clean
+
+clean:
+ rm -fr $(ALL)