aboutsummaryrefslogtreecommitdiffstats
path: root/annual-meetings/Makefile
blob: 1a94cbe8a96495372190ad7a0c1fe14ad72bd29b (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
# Makefile for minutes of 2016

MINUTES = \
2019-05-05-annual \

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

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

all: $(MINUTES)

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


annual-job = 2019-05-05-annual

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

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

motions = \
  motions/soederqvist-01_.tex \
  motions/soederqvist-02_.tex \
  motions/roedven-01_.tex \
  motions/roedven-02_.tex \

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

operational-policy-2019_.tex: ../by-laws/operational-policy-2019.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