summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-04-10 16:02:57 -0300
committerEuAndreh <eu@euandre.org>2025-04-10 16:14:23 -0300
commitdbfa919c220160835ced9a8daaa5240207525469 (patch)
treeea1dddfd874f2d5c2cb2281b85c473c8ce29249f /Makefile
parentMakefile: Update to mkwb(1) that supports sort=0 (diff)
downloadeuandre.org-dbfa919c220160835ced9a8daaa5240207525469.tar.gz
euandre.org-dbfa919c220160835ced9a8daaa5240207525469.tar.xz
Makefile: Normalize unit test target names
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 56ed477..d80a6d8 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