From 206860b4276f1c61281ce8047b9b3e6ef4667135 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 18 Apr 2025 05:23:29 -0300 Subject: Makefile: Add "check-unit-links" target --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5040568..b75e187 100644 --- a/Makefile +++ b/Makefile @@ -347,7 +347,17 @@ check-unit-links-internal: $(sources.links-internal-check) check-unit-links-external: +symlink-deps = \ + $(sources.html) \ + $(feeds.xml) \ + src/content/.well-known/security.txt \ + +check-unit-symlinks: src/all-symlinks.txt $(symlink-deps) + find `cat src/all-symlinks.txt` | xargs -n1 test -e + + check-unit-links: check-unit-links-internal check-unit-links-external +check-unit-links: check-unit-symlinks check-unit: check-unit-sorting check-unit-updatedat check-unit-links -- cgit v1.2.3