diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-06-08 18:56:14 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-06-08 18:56:14 +0000 |
commit | 091aaacde979eab5b08a3f2ef37e08ee5c585aa8 (patch) | |
tree | 7dca687b0546faa43f3774641d24dd27633bd4eb /Makefile.PL | |
parent | cdfd83aa3aeff7822a3aff9903ed99963b020018 (diff) | |
download | urpmi-091aaacde979eab5b08a3f2ef37e08ee5c585aa8.tar urpmi-091aaacde979eab5b08a3f2ef37e08ee5c585aa8.tar.gz urpmi-091aaacde979eab5b08a3f2ef37e08ee5c585aa8.tar.bz2 urpmi-091aaacde979eab5b08a3f2ef37e08ee5c585aa8.tar.xz urpmi-091aaacde979eab5b08a3f2ef37e08ee5c585aa8.zip |
better caption for man pages (inspirated by mdv): remove number from title
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-x | Makefile.PL | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.PL b/Makefile.PL index 4b8f53e7..988bdb56 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -162,10 +162,10 @@ WriteMakefile( map { my $targ = $_; $targ =~ s{^pod/}{}; - $targ =~ s/\.(\d)\.pod$//; + $targ =~ s{^(\d)/(.*)\.pod$}{$2}; my $section = $1 || 1; ( $_ => "\$(INST_MAN${section}DIR)/$targ.$section" ); - } <pod/*.pod>, $with_po ? <pod/*/*.pod> : () + } <pod/*/*.pod>, $with_po ? <pod/*/*.pod> : () }, dist => { COMPRESS => "xz -f", SUFFIX => ".xz" }, ); |