Browse Source

wikiheaders: Manpages go in man3 directory, even if they're 3type.

(cherry picked from commit 9210c68c443248161c5d0c6edbffc7d8f7b14126)
Ryan C. Gordon 11 months ago
parent
commit
2f54d8a458
1 changed files with 1 additions and 2 deletions
  1. 1 2
      build-scripts/wikiheaders.pl

+ 1 - 2
build-scripts/wikiheaders.pl

@@ -1737,7 +1737,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.
 
     File::Path::make_path("$manpath/man3");
-    File::Path::make_path("$manpath/man3type");
 
     $dewikify_mode = 'manpage';
     $wordwrap_mode = 'manpage';
@@ -2001,7 +2000,7 @@ if ($copy_direction == 1) {  # --copy-to-headers
         $str .= ".UE\n";
         }
 
-        my $path = "$manpath/man$mansection/$_.$mansection";
+        my $path = "$manpath/man3/$_.$mansection";
         my $tmppath = "$path.tmp";
         open(FH, '>', $tmppath) or die("Can't open '$tmppath': $!\n");
         print FH $str;