summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-04-18 05:23:29 -0300
committerEuAndreh <eu@euandre.org>2025-04-18 05:23:29 -0300
commit206860b4276f1c61281ce8047b9b3e6ef4667135 (patch)
tree9e6455165a2a89de69c99d9450fb6f9e8a3777ce /Makefile
parentsrc/content/{index.html,security.txt}: Create from src/symlinks.txt (diff)
downloadeuandre.org-206860b4276f1c61281ce8047b9b3e6ef4667135.tar.gz
euandre.org-206860b4276f1c61281ce8047b9b3e6ef4667135.tar.xz
Makefile: Add "check-unit-links" target
Diffstat (limited to '')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
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