From: Étienne BERSAC Date: Wed, 20 Sep 2017 06:54:12 +0000 (+0200) Subject: Add README target X-Git-Tag: v10.0~36^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7694d97ea1d02b8853ee0a7b9b97a6f59164038c;p=pgbadger Add README target --- diff --git a/Makefile.PL b/Makefile.PL index 428aa5f..0b76bbd 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -35,6 +35,13 @@ if ($ExtUtils::MakeMaker::VERSION >= 6.46) { ); } +sub MY::postamble { + return <<'EOMAKE'; +README: doc/pgBadger.pod + pod2text $^ > $@ +EOMAKE +} + WriteMakefile( 'DISTNAME' => 'pgbadger', 'NAME' => 'pgBadger',