From 159503125826bc2d3b988921e7e85735ee09ad46 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 26 Aug 2025 16:44:38 -0400 Subject: [PATCH] libutil++: Rename manpage source files to avoid colons To permit checking the sources out on systems such as Windows with more restrictive file name requirements, rename the manpage source files to replace colons with underscrores. Use MANSRC.foo to point at the new source file names. Reviewed by: ivy Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D51794 --- lib/libutil++/Makefile | 4 ++++ lib/libutil++/{freebsd::FILE_up.3 => freebsd__FILE_up.3} | 0 .../{freebsd::addrinfo_up.3 => freebsd__addrinfo_up.3} | 0 lib/libutil++/{freebsd::fd_up.3 => freebsd__fd_up.3} | 0 lib/libutil++/{freebsd::malloc_up.3 => freebsd__malloc_up.3} | 0 lib/libutil++/{freebsd::nvlist_up.3 => freebsd__nvlist_up.3} | 0 lib/libutil++/{freebsd::pidfile.3 => freebsd__pidfile.3} | 0 lib/libutil++/{freebsd::stringf.3 => freebsd__stringf.3} | 0 8 files changed, 4 insertions(+) rename lib/libutil++/{freebsd::FILE_up.3 => freebsd__FILE_up.3} (100%) rename lib/libutil++/{freebsd::addrinfo_up.3 => freebsd__addrinfo_up.3} (100%) rename lib/libutil++/{freebsd::fd_up.3 => freebsd__fd_up.3} (100%) rename lib/libutil++/{freebsd::malloc_up.3 => freebsd__malloc_up.3} (100%) rename lib/libutil++/{freebsd::nvlist_up.3 => freebsd__nvlist_up.3} (100%) rename lib/libutil++/{freebsd::pidfile.3 => freebsd__pidfile.3} (100%) rename lib/libutil++/{freebsd::stringf.3 => freebsd__stringf.3} (100%) diff --git a/lib/libutil++/Makefile b/lib/libutil++/Makefile index 56b64bbf358..2e7a614df80 100644 --- a/lib/libutil++/Makefile +++ b/lib/libutil++/Makefile @@ -11,6 +11,10 @@ MAN+= freebsd::FILE_up.3 \ freebsd::pidfile.3 \ freebsd::stringf.3 +.for page in ${MAN} +MANSRC.${page}= ${page:S/:/_/g} +.endfor + .include HAS_TESTS= diff --git a/lib/libutil++/freebsd::FILE_up.3 b/lib/libutil++/freebsd__FILE_up.3 similarity index 100% rename from lib/libutil++/freebsd::FILE_up.3 rename to lib/libutil++/freebsd__FILE_up.3 diff --git a/lib/libutil++/freebsd::addrinfo_up.3 b/lib/libutil++/freebsd__addrinfo_up.3 similarity index 100% rename from lib/libutil++/freebsd::addrinfo_up.3 rename to lib/libutil++/freebsd__addrinfo_up.3 diff --git a/lib/libutil++/freebsd::fd_up.3 b/lib/libutil++/freebsd__fd_up.3 similarity index 100% rename from lib/libutil++/freebsd::fd_up.3 rename to lib/libutil++/freebsd__fd_up.3 diff --git a/lib/libutil++/freebsd::malloc_up.3 b/lib/libutil++/freebsd__malloc_up.3 similarity index 100% rename from lib/libutil++/freebsd::malloc_up.3 rename to lib/libutil++/freebsd__malloc_up.3 diff --git a/lib/libutil++/freebsd::nvlist_up.3 b/lib/libutil++/freebsd__nvlist_up.3 similarity index 100% rename from lib/libutil++/freebsd::nvlist_up.3 rename to lib/libutil++/freebsd__nvlist_up.3 diff --git a/lib/libutil++/freebsd::pidfile.3 b/lib/libutil++/freebsd__pidfile.3 similarity index 100% rename from lib/libutil++/freebsd::pidfile.3 rename to lib/libutil++/freebsd__pidfile.3 diff --git a/lib/libutil++/freebsd::stringf.3 b/lib/libutil++/freebsd__stringf.3 similarity index 100% rename from lib/libutil++/freebsd::stringf.3 rename to lib/libutil++/freebsd__stringf.3