Add Ubuntu 21.10
This commit is contained in:
parent
29a6f784f5
commit
f6a8d5c134
3 changed files with 9 additions and 3 deletions
|
|
@ -54,7 +54,7 @@ sub fmt {
|
|||
$input = encode_utf8($input);
|
||||
|
||||
# grog has a tendency to recognize pod2man generated pages as -ms, let's just work around that by enforcing -man
|
||||
return _groff $input, $output, $errors, $cv, 'groff', '-man' if $input =~ /^.\\" Automatically generated by Pod::Man/;
|
||||
#return _groff $input, $output, $errors, $cv, 'groff', '-man' if $input =~ /^.\\" Automatically generated by Pod::Man/;
|
||||
|
||||
# Call grog to figure out which preprocessors to use.
|
||||
my $grog = run_cmd [qw|grog -Tutf8 -DUTF-8 -|],
|
||||
|
|
@ -88,6 +88,7 @@ sub fmt {
|
|||
@cmd = (@cmd[0..$#cmd-1], $macros, $cmd[$#cmd]);
|
||||
push @$errors, "grog detected several macro packages: $double. Using $macros. (@cmd)";
|
||||
}
|
||||
@cmd = map $_ eq '-ms' ? '-man' : $_, @cmd; # -ms is almost(?) always wrong.
|
||||
|
||||
_groff $input, $output, $errors, $cv, @cmd;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue