summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-04-10 18:20:31 -0300
committerEuAndreh <eu@euandre.org>2025-04-10 18:26:49 -0300
commitb02ffa7cb54c38a56a31de101c3a86c8772e1093 (patch)
tree4e1f14703c7c6f0b0a1419b60c045a89c052aaa0 /Makefile
parentsrc/content/img/atom.svg: Split into light/dark variations (diff)
downloadpapo.im-b02ffa7cb54c38a56a31de101c3a86c8772e1093.tar.gz
papo.im-b02ffa7cb54c38a56a31de101c3a86c8772e1093.tar.xz
Makefile: Normalize check-unit-links target names and its dependencis
Diffstat (limited to '')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index bb5cad8..1a94014 100644
--- a/Makefile
+++ b/Makefile
@@ -289,18 +289,18 @@ check-unit-sorting: src/sort-expected.txt src/sort-given.txt
diff -U10 src/sort-expected.txt src/sort-given.txt
-.SUFFIXES: .links-check-internal
-sources.links-check-internal = $(sources.adoc:.adoc=.links-check-internal)
-$(sources.links-check-internal): $(sources.html)
+.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)/%
-check-unit-internal: $(sources.links-check-internal)
+check-unit-links-internal: $(sources.links-internal-check)
-check-unit-external:
+check-unit-links-external:
-check-unit-links: check-unit-internal check-unit-external
+check-unit-links: check-unit-links-internal check-unit-links-external
check-unit: check-unit-sorting check-unit-links