summaryrefslogtreecommitdiffstats
path: root/leaflets
diff options
context:
space:
mode:
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