summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-05-14 17:09:48 +0200
committerJonas Smedegaard <dr@jones.dk>2024-06-04 17:35:41 +0200
commit7dc18c9b5996f81ec6b2a86b6ff98bf6738251f1 (patch)
tree8259261c829a6dd553e5badd8c04d843ca26cb9b
parent578fd539647448db92538717bdfeb899df63f399 (diff)
fix make targets wordcount-of-*: relax appendix match
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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 \