From 188f05257c603a18ddbd298b19019cd06f192f88 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Thu, 27 Oct 2016 20:06:45 +0200 Subject: Initial commit on organisation leaflet --- leaflets/organisations/Makefile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 leaflets/organisations/Makefile 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 -- cgit v1.2.3