aboutsummaryrefslogtreecommitdiffstats
path: root/2017/Makefile
blob: 9aa4569b789011e946206833dcbd643069a8499c (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
# Makefile for minutes of 2016

MINUTES = \
2017-05-13-annual \

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

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

all: $(MINUTES)

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

annual-job = 2017-05-13-annual
annual-tex = \
  2017-05-13-annual \
  ../annual-reports/annual-report-2017 \
  ../operational-plans/notes-plan-2017 \
  ../operational-plans/operational-plan-2016 # Note that 2016 is the right one
annual-pdf = \
  ../annual-reports/economical-report-2017 \
  ../annual-reports/auditors-report-2017
$(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 $@)

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