summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 581cdfc..0e68733 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,9 @@ offset: $(wildcard tryk/oroeposten_*_offset.qmd)
lint-markdown:
@mdl --ignore-front-matter --style .mdl.rb */*.qmd */*/*.qmd
+lint-hyphenation:
+ @grep -Fxvh -f tryk/hyph_ok_danish.txt tryk/*.uhy
+
$(patsubst %_offset.pdf,%_offset_cmyk.pdf,$(wildcard _site/tryk/*_offset.pdf)):\
%_offset_cmyk.pdf: %_offset.pdf
gs -dSAFER -dBATCH -dNOPAUSE \
@@ -34,4 +37,4 @@ $(patsubst %_offset.pdf,%_offset_cmyk.pdf,$(wildcard _site/tryk/*_offset.pdf)):\
-sDefaultCMYKProfile=/usr/share/color/icc/PSO_Uncoated_ISO12647_eci.icc \
$<
-.PHONY: all preview render publish offset lint-markdown
+.PHONY: all preview render publish offset lint-markdown lint-hyphenation