summaryrefslogtreecommitdiffstats
path: root/presentations/migrate/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2021-12-04 15:51:59 +0100
committerGustav Eek <gustav.eek@fripost.org>2021-12-12 12:47:03 +0100
commita0b6450647e46e545d6284c07f63530af1ea0b01 (patch)
tree8c124005135b77e76e8afef8a03e04a9aed0d360 /presentations/migrate/Makefile
parentb2536e8ebff9e36311b7f87dcb02983e3bf475ae (diff)
Create a presentation on migration for Red MirrorHEADmaster
The presentation is purely made from content in the wiki. A Sed script, extra markdown header file and latex preamble addition is provided.
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)