mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-11 04:55:23 +00:00
wikiheaders: Manpages go in man3 directory, even if they're 3type.
This commit is contained in:
@@ -1766,7 +1766,6 @@ if ($copy_direction == 1) { # --copy-to-headers
|
|||||||
# This only takes from the wiki data, since it has sections we omit from the headers, like code examples.
|
# This only takes from the wiki data, since it has sections we omit from the headers, like code examples.
|
||||||
|
|
||||||
File::Path::make_path("$manpath/man3");
|
File::Path::make_path("$manpath/man3");
|
||||||
File::Path::make_path("$manpath/man3type");
|
|
||||||
|
|
||||||
$dewikify_mode = 'manpage';
|
$dewikify_mode = 'manpage';
|
||||||
$wordwrap_mode = 'manpage';
|
$wordwrap_mode = 'manpage';
|
||||||
@@ -2030,7 +2029,7 @@ if ($copy_direction == 1) { # --copy-to-headers
|
|||||||
$str .= ".UE\n";
|
$str .= ".UE\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
my $path = "$manpath/man$mansection/$_.$mansection";
|
my $path = "$manpath/man3/$_.$mansection";
|
||||||
my $tmppath = "$path.tmp";
|
my $tmppath = "$path.tmp";
|
||||||
open(FH, '>', $tmppath) or die("Can't open '$tmppath': $!\n");
|
open(FH, '>', $tmppath) or die("Can't open '$tmppath': $!\n");
|
||||||
print FH $str;
|
print FH $str;
|
||||||
|
|||||||
Reference in New Issue
Block a user