summaryrefslogtreecommitdiffstats
path: root/leaflets/organisations/Makefile
blob: 487fc87407b519095d1defe387ce3a027caf43dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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