From 7dc18c9b5996f81ec6b2a86b6ff98bf6738251f1 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 14 May 2024 17:09:48 +0200 Subject: fix make targets wordcount-of-*: relax appendix match --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1b91bf1..04e3426 100644 --- a/Makefile +++ b/Makefile @@ -112,7 +112,7 @@ $(ARTICLES:%=screening-of-%): screening-of-%: $(ARTICLES:%=wordcount-of-%): wordcount-of-%: QUARTO_LOG_LEVEL=quiet \ quarto render $*/index.qmd --to plain --columns=9999 --output - \ - | perl -nE 'next if /^-*$$/; $$bilag += $$_ =~ "^Bilag 1\\b"; $$chars += length unless $$bilag; END { say $$chars }' + | perl -nE 'next if /^-*$$/; $$bilag += $$_ =~ "^Bilag\\b"; $$chars += length unless $$bilag; END { say $$chars }' $(ARTICLES:%=turtle-from-%): turtle-from-%: @bin/xmp2rdfxml _site/$*/S*.pdf \ -- cgit v1.2.3