summaryrefslogtreecommitdiffstats
path: root/leaflets/organisations/Makefile
blob: 56d0288dabd9ab67b83f3925ac94b4631d4a349f (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

all = \
  fripost-organisations-leaflet.pdf \
  fripost-organisations-standard.pdf \
  organisations.tex \
  organisations.mdwn

all: $(all)

fripost-organisations-leaflet.pdf: organisations.mdwn template.tex
	pandoc -s -f markdown -t latex --template=template.tex -o $@ $<

fripost-organisations-standard.pdf: organisations.mdwn
	pandoc -s -f markdown -t latex -o $@ $<

organisations.tex: organisations.mdwn template.tex
	pandoc -s -f markdown -t latex --template=template.tex < $< > $@

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