aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2024-05-18 22:54:23 +0200
committerGustav Eek <gustav.eek@fripost.org>2024-05-18 22:54:23 +0200
commitbb530807423c077014612398c44929b96851df2a (patch)
treef4f9506086c728f562f986cde2698f58d10096d7 /lib
parentf43068ca50cb21c582d680f7856ead034f9abb1a (diff)
System. Bugfix library Makefile
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Makefile b/lib/Makefile
index bb8b55f..2d71261 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -11,7 +11,7 @@ POLICY ?= # will be compiled with *by-laws* template
.PHONY: all
-ALL = \
+ALL ?= \
$(addsuffix .pdf, $(SLIDES)) \
$(addsuffix .pdf, $(POLICY)) \
$(addsuffix .pdf, $(MINUTES)) \
@@ -29,7 +29,7 @@ $(addsuffix .pdf, $(MINUTES)): %.pdf: %.md
$$(test -f $*.yml && echo --metadata-file=$*.yml) \
-o $@ $*.md
-$(addsuffix .pdf, $(POLICY)): %.pdf: %.yml %.md
+$(addsuffix .pdf, $(POLICY)): %.pdf: %.md
pandoc -f markdown -t latex \
--template=fripost-by-laws \
$$(test -f $*.yml && echo --metadata-file=$*.yml) \
@@ -42,7 +42,7 @@ $(addsuffix .pdf, $(POLICY)): %.pdf: %.yml %.md
ARCHIVE ?= archive
ROOT ?= $(shell git rev-parse --show-toplevel)
SUFFIX ?= -$(subst /,,$(dir $(subst $(ROOT),,$(PWD))))
-PDF = $(basename $(wildcard *.pdf))
+PDF ?= $(basename $(wildcard *.pdf))
print:
@echo ARCHIVE = $(ARCHIVE)