From 1f350add0923b18d03d99887296ccd710c663522 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Mon, 10 Sep 2012 18:55:53 -0700 Subject: [PATCH] Force manpage to go into section '1' NOT '1p' --- Makefile.PL | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile.PL b/Makefile.PL index a11aeb8..d1e80a4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -29,6 +29,13 @@ sub MY::libscan return $self->SUPER::libscan ($file); } +# I want my manpage to go into the man section '1', NOT '1p'. Here I add a +# snippet to the end of the generated Makefile to force this +sub MY::postamble +{ + return "MAN1EXT := 1\n"; +} + WriteMakefile (