summaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-08 18:52:40 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-08 18:52:40 +0000
commit3ad655fecd067aa71ce080175cebc90cfc76421a (patch)
treebc919b7d23c46d8adf94e54af98366eea17caa04 /Makefile.PL
parent8b5db5a032d00a35665ca67d4f4c3c9875394ee2 (diff)
downloadurpmi-3ad655fecd067aa71ce080175cebc90cfc76421a.tar
urpmi-3ad655fecd067aa71ce080175cebc90cfc76421a.tar.gz
urpmi-3ad655fecd067aa71ce080175cebc90cfc76421a.tar.bz2
urpmi-3ad655fecd067aa71ce080175cebc90cfc76421a.tar.xz
urpmi-3ad655fecd067aa71ce080175cebc90cfc76421a.zip
better caption for man pages (inspirated by mdv): fix section name
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-xMakefile.PL2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 0fc943a4..4b8f53e7 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -75,6 +75,8 @@ sub manifypods {
my $inherited = shift->SUPER::manifypods(@_);
#- TODO repartition of man pages in sections by pod2man is incorrect
#- TODO as more languages are added adapt the following quick hack
+ # Adjust captions to make them look less like perl packages
+ $inherited =~ s/^(POD2MAN_EXE\s*=\s*)(.+)$/$1$2 -c "Mageia Package Management" -r "Mageia Linux"/m;
$inherited;
}