aboutsummaryrefslogtreecommitdiffstats
path: root/annual-meetings/Makefile
blob: 6d57e41a4e9ceca418c4242bff924ca77321c01c (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Makefile for minutes of 2016

MINUTES = \
2021-05-30-annual \
2020-05-10-annual \
2019-05-05-annual \

common-makefile = ../resources/Makefile-common

help:
	@make -s -f $(common-makefile) help

all: $(MINUTES)

%:
	make -f $(common-makefile) compile FILE=$*

# 2021

2021-05-30-annual.tex: \
  ../operational-plans/operational-plan-2021._.tex


# 2019

2019-job = 2019-05-05-annual

2019-tex = \
  2019-05-05-annual \
  ../operational-plans/operational-plan-2019 \
  ../annual-reports/annual-report-2019 \

2019-pdf = \
  ../annual-reports/economical-report-2019 \
  ../annual-reports/auditors-report-2019

2019-motions = \
  motions/2019-a-soederqvist-01_.tex \
  motions/2019-b-soederqvist-02_.tex \
  motions/2019-c-roedven-01_.tex \
  motions/2019-d-roedven-02_.tex \

$(2019-job): $(addsuffix .pdf, $(2019-pdf)) $(2019-motions)
	make -f $(common-makefile) compile FILE=$(2019-job) FILES_TEX="$(2019-tex)" FILES_PDF="$(2019-pdf)"
$(addsuffix .pdf, $(2019-pdf)):
	make -C ../annual-reports $(notdir $@)

# Operational policies

operational-policy-2018_.tex: ../by-laws/operational-policy-2018.tex
	sed -e "s/\\\(.*\)section\*{/\\sub\1section{/g" < $< > $@

motions/%:
	make -C motions

send:
	make -f $(common-makefile) send SEND_FILES="$(MINUTES)"
clean:
	make -C motions clean
	make -f $(common-makefile) clean