From 6360540b84a3c532957f1fdfaf0f64429ec19be5 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Wed, 15 May 2024 12:35:45 +0200 Subject: Annual 2023. Update Makefile and remove sync script --- annual/2023/Makefile | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) (limited to 'annual/2023/Makefile') diff --git a/annual/2023/Makefile b/annual/2023/Makefile index 81abadc..b38cb80 100644 --- a/annual/2023/Makefile +++ b/annual/2023/Makefile @@ -1,17 +1,38 @@ +#!/usr/bin/env make -f +# +# Makefile for Fripost annual meeting + SLIDES = agenda -PAPERS = annual-report +MINUTES = minutes +POLICY = annual-report operational-plan +PDF = 2023-06-11-annual operational-plan-2023 +SUFFIX = -all: \ +ALL = \ $(addsuffix .pdf, $(SLIDES)) \ - $(addsuffix .pdf, $(PAPERS)) + $(addsuffix .pdf, $(POLICY)) \ + $(addsuffix .pdf, $(MINUTES)) \ + $(addsuffix .pdf, $(PDF)) + +ROOT = $(shell git rev-parse --show-toplevel) -$(addsuffix .pdf, $(SLIDES)): %.pdf: %.md - pandoc -s -f markdown -t beamer -o $@ < $< +include $(ROOT)/lib/Makefile -$(addsuffix .pdf, $(PAPERS)): %.pdf: %.md - pandoc -s -f markdown -t latex -o $@ < $< +# Specific commands for this year 2023 -$(addsuffix .tex, $(PAPERS)): %.tex: %.md - pandoc -s -f markdown -t latex -o $@ < $< +2023-06-11-annual.pdf: \ + minutes.pdf \ + annual-report.pdf \ + Balans-och-resultat-2022.pdf \ + revision2022.pdf \ + operational-plan.pdf \ + motions/operational-policy.pdf + pdftk $^ cat output $@ +motions/%.pdf: + make -C $(dir $@) +operational-plan-2023.pdf: \ + operational-plan.pdf \ + ../../by-laws/operational-policy-2023.pdf + pdftk $^ cat output $@ -- cgit v1.2.3