autotools: limit checksrc target to ignore non-repo test sources

Syncing tests with lib and src behavior.

Also:
- fix OS400 checksrc to find the per-directory `.checksrc` file.

Closes #20898
This commit is contained in:
Viktor Szakats 2026-03-12 01:27:47 +01:00
parent a0db67572e
commit 6ada2e3dce
No known key found for this signature in database
5 changed files with 5 additions and 16 deletions

View file

@ -50,7 +50,7 @@ CS_1 =
CS_ = $(CS_0)
checksrc:
$(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir) $(srcdir)/OS400/*.[ch])
$(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir)/OS400 $(srcdir)/OS400/*.[ch])
if NOT_CURL_CI
if DEBUGBUILD