From: Jonathan Wakely Date: Thu, 25 Apr 2024 13:02:36 +0000 (+0100) Subject: libstdc++: Rename man pages to use '::' instead of '_' X-Git-Tag: basepoints/gcc-15~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d80e3c5a641556e32fdf3637f08a0648f5aaab3;p=thirdparty%2Fgcc.git libstdc++: Rename man pages to use '::' instead of '_' The Doxygen-generated man pages for some new types need to be renamed to use '::' instead of '_' in the filenames. libstdc++-v3/ChangeLog: * scripts/run_doxygen: Rename man pages for nested types. --- diff --git a/libstdc++-v3/scripts/run_doxygen b/libstdc++-v3/scripts/run_doxygen index ea9bcb565530..11f24b058aff 100644 --- a/libstdc++-v3/scripts/run_doxygen +++ b/libstdc++-v3/scripts/run_doxygen @@ -415,8 +415,21 @@ for f in __cxxabiv1_*; do mv $f $newname done +mv std::__unspecified___exception_ptr.3 std::exception_ptr.3 + # Then piecemeal nested classes +for f in std*distribution_param_type.3; do + newname=`echo $f | sed 's/distribution_param_type/distribution::param_type/'` + mv $f $newname +done + +for f in std*filesystem::path_iterator.3; do + newname=`echo $f | sed 's/path_iterator/path::iterator/'` + mv $f $newname +done + +mv std::chrono::tzdb_list_const_iterator.3 std::chrono::tzdb_list::const_iterator.3 # Generic removal bits, where there are things in the generated man # pages that need to be killed.