aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b5b2756..2a5dd64 100644
--- a/Makefile
+++ b/Makefile
@@ -78,7 +78,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 += $$_ eq "Bilag 1\n"; $$chars += length unless $$bilag; END { say $$chars }'
+ | perl -nE 'next if /^-*$$/; $$bilag += $$_ =~ "^Bilag 1\\b"; $$chars += length unless $$bilag; END { say $$chars }'
$(ARTICLES:%=turtle-from-%): turtle-from-%: _site/%/index.pdf
@bin/xmp2rdfxml _site/$*/index.pdf \