]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Rename man pages to use '::' instead of '_'
authorJonathan Wakely <jwakely@redhat.com>
Thu, 25 Apr 2024 13:02:36 +0000 (14:02 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 25 Apr 2024 17:38:44 +0000 (18:38 +0100)
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.

libstdc++-v3/scripts/run_doxygen

index ea9bcb565530168978406c644ab323c04da694d4..11f24b058aff2be974c1bdc78c7ecef8728244a5 100644 (file)
@@ -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.