aboutsummaryrefslogtreecommitdiffstats
path: root/2018/Makefile
blob: 3d4a901227713d9f264a669905bc93a71898e4eb (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
# Makefile for minutes of 2016

MINUTES = \
2018-01-22-board \
2018-03-26-board \
2018-04-23-board \
2018-05-06-annual \
2018-08-27-board \
2018-10-22-board \

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

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

all: $(MINUTES)

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

annual-job = 2018-05-06-annual
annual-tex = \
  2018-05-06-annual \
  ../annual-reports/annual-report-2018 \
  operational-policy-2018_ \
  ../operational-plans/operational-plan-2018
annual-pdf = \
  ../annual-reports/economical-report-2018 \
  ../annual-reports/auditors-report-2018
$(annual-job): $(addsuffix .pdf, $(annual-pdf))
	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-2018_.tex: ../by-laws/operational-policy-2018.tex
	sed -e "s/\\\(.*\)section\*{/\\sub\1section{/g" < $< > $@

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