-wholename is mostly alias to -path, and -path is more
portable. E.g. -wholename does not exist on NetBSD.
Signed-off-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
MergeDate: Mon Feb 9 09:53:10 2026
(Merged from https://github.com/openssl/openssl/pull/29944)
$(RM) tags TAGS doc-nits md-nits
$(RM) -r test/test-runs
$(RM) providers/fips*.new
- -find . -type l \! -name '.*' \! -wholename './pkcs11-provider/*' -exec $(RM) {} \;
+ -find . -type l \! -name '.*' \! -path './pkcs11-provider/*' -exec $(RM) {} \;
distclean: clean ## Clean and remove the configuration
$(RM) include/openssl/configuration.h