#!/usr/bin/env make -f
#
# Makefile for Fripost annual meeting

SLIDES = agenda shortest-procedures
MINUTES = minutes
REPORTS = annual-report operational-plan short-procedures
TRG = 2024-05-19-annual operational-plan-2024
SUFFIX =

.PHONY: allall notes

allall: notes all

notes:
	make -C notes

ROOT = $(shell git rev-parse --show-toplevel)

ALL = \
 $(addsuffix .pdf, $(SLIDES)) \
 $(addsuffix .pdf, $(REPORTS)) \
 $(addsuffix .pdf, $(MINUTES)) \
 $(addsuffix .pdf, $(TRG))


include $(ROOT)/lib/Makefile

# Specific commands for this year 2024

2024-05-19-annual.pdf: \
  minutes.pdf \
  annual-report.pdf \
  Balans-och-resultat-2023.pdf \
  revision2023.pdf \
  operational-plan.pdf \
  short-procedures.pdf
	pdftk $^ cat output $@

operational-plan-2024.pdf: \
  operational-plan.pdf \
  $(ROOT)/by-laws/operational-policy-2023.pdf
	pdftk $^ cat output $@