summaryrefslogtreecommitdiffstats
path: root/leaflets
diff options
context:
space:
mode:
authorGustav Eek <gustav@fripost.org>2016-10-27 20:06:45 +0200
committerGustav Eek <gustav@fripost.org>2016-10-27 20:06:45 +0200
commit188f05257c603a18ddbd298b19019cd06f192f88 (patch)
treecf2d07fdfdc31b60fbf4a06b37270caabd3d653f /leaflets
parent03adc750abc411ab9f9513a6e9dea0231809bde6 (diff)
Initial commit on organisation leaflet
Diffstat (limited to 'leaflets')
-rw-r--r--leaflets/organisations/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/leaflets/organisations/Makefile b/leaflets/organisations/Makefile
new file mode 100644
index 0000000..487fc87
--- /dev/null
+++ b/leaflets/organisations/Makefile
@@ -0,0 +1,30 @@
+
+all = \
+ fripost-organisations-leaflet.pdf \
+ organisations.tex \
+ organisations.mdwn
+
+pandoc-opts = \
+ --template=template.tex \
+ -V documentclass=leaflet \
+ -V classoption=tumble \
+ -V papersize=a4paper
+
+all: $(all)
+
+fripost-organisations-leaflet.pdf: organisations.mdwn
+ pandoc -s -f markdown -t latex $(pandoc-opts) -o $@ $<
+
+organisations.tex: organisations.mdwn template.tex
+ pandoc -s -f markdown -t latex $(pandoc-opts) < $< > $@
+
+organisations.mdwn:
+ git archive --remote=gitolite@git.fripost.org:fripost-wiki.git --format=tar HEAD organisations.mdwn | tar --extract > $@
+
+send:
+ rsync -ruvp --chmod=Dugo+rx,Fugo+r *.pdf www.fripost.org:/var/www/fripost.org/material/
+
+clean:
+ rm -f $(all)
+
+SHELL = /bin/bash