From 091aaacde979eab5b08a3f2ef37e08ee5c585aa8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 8 Jun 2012 18:56:14 +0000 Subject: better caption for man pages (inspirated by mdv): remove number from title --- Makefile.PL | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.PL') 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" ); - } , $with_po ? : () + } , $with_po ? : () }, dist => { COMPRESS => "xz -f", SUFFIX => ".xz" }, ); -- cgit v1.2.1