diff options
author | EuAndreh <eu@euandre.org> | 2025-04-11 14:56:47 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-04-11 14:56:47 -0300 |
commit | 3d335f23f1bdbbe7162914d208e1142aa1635153 (patch) | |
tree | 270c8d477f3b0a65a66384bcf06fb8f77d92600c /Makefile | |
parent | Makefile: Generate a feed per category (diff) | |
download | euandre.org-3d335f23f1bdbbe7162914d208e1142aa1635153.tar.gz euandre.org-3d335f23f1bdbbe7162914d208e1142aa1635153.tar.xz |
Makefile: Check both link: and image:
Diffstat (limited to '')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |