diff options
author | EuAndreh <eu@euandre.org> | 2025-04-10 16:02:57 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-04-10 16:14:23 -0300 |
commit | dbfa919c220160835ced9a8daaa5240207525469 (patch) | |
tree | ea1dddfd874f2d5c2cb2281b85c473c8ce29249f /Makefile | |
parent | Makefile: Update to mkwb(1) that supports sort=0 (diff) | |
download | euandre.org-dbfa919c220160835ced9a8daaa5240207525469.tar.gz euandre.org-dbfa919c220160835ced9a8daaa5240207525469.tar.xz |
Makefile: Normalize unit test target names
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |