summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bf4f4d5..e749e87 100644
--- a/Makefile
+++ b/Makefile
@@ -65,7 +65,7 @@ PUBURL = public.asc
mkwb links $< > $@
.links.caslinks:
- grep -v '^link:' $< | xargs -I_ sh -c '\
+ grep -Ev '^(link|image):' $< | xargs -I_ sh -c '\
printf "%s\n" "_" | sha256sum | \
printf "%s\t%s\n" "`cut -d" " -f1`" "_"' > $@
@@ -325,7 +325,8 @@ check-unit-updatedat: $(sources.updatedat-check)
.SUFFIXES: .links-internal-check
sources.links-internal-check = $(sources.adoc:.adoc=.links-internal-check)
$(sources.links-internal-check): $(sources.html)
- grep '^link:' $*.links | cut -d: -f2- | xargs -I% test -e $(*D)/%
+ grep -E '^(link|image):' $*.links | cut -d: -f2- | \
+ xargs -I% test -e $(*D)/%
check-unit-links-internal: $(sources.links-internal-check)