diff --git a/.github/README.md b/.github/README.md index 48bf538..12c3a3e 100644 --- a/.github/README.md +++ b/.github/README.md @@ -6,7 +6,7 @@ [![FreeBSD](https://api.cirrus-ci.com/github/pmqs/Compress-Raw-Zlib.svg?task=FreeBSD)](https://cirrus-ci.com/github/pmqs/Compress-Raw-Zlib?task=FreeBSD) [![Build Status](https://ci.appveyor.com/api/projects/status/github/pmqs/Compress-Raw-Zlib?svg=true)](https://ci.appveyor.com/project/pmqs/Compress-Raw-Zlib) -Upstream Testing +**Upstream Testing** [![Linux + upstream zlib](https://github.com/pmqs/Compress-Raw-Zlib/actions/workflows/linux-upstream-zlib.yml/badge.svg)](https://github.com/pmqs/Compress-Raw-Zlib/actions/workflows/linux-upstream-zlib.yml) [![Linux + upstream zlib-ng](https://github.com/pmqs/Compress-Raw-Zlib/actions/workflows/linux-upstream-zlib-ng.yml/badge.svg)](https://github.com/pmqs/Compress-Raw-Zlib/actions/workflows/linux-upstream-zlib-ng.yml) @@ -22,3 +22,14 @@ For details of building and installing this module see the file [README](../READ API Documentation is in [Zlib.pod](Zlib.pod). This module is also available on [metacpan](https://metacpan.org/) at [Compress::Raw::Zlib](https://metacpan.org/pod/Compress::Raw::Zlib) + +General feedback/questions/bug reports should be reported in the [issues](https://github.com/pmqs/Compress-Raw-Zlib/issues) page. + + +Copyright (c) 2009-2024 Paul Marquess. All rights reserved. + +This program is free software; you can redistribute it +and/or modify it under the same terms as Perl itself. + + +Paul Marquess \ No newline at end of file diff --git a/Makefile.PL b/Makefile.PL index 491906b..ad2d152 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -111,6 +111,7 @@ my %WriteMakefileArgs = ( depend => { Makefile => 'config.in', manifypods => 'READMEmd' }, + postamble => { name => 'Zlib' }, clean => { FILES => '*.c constants.h constants.xs' }, dist => { COMPRESS => 'gzip', TARFLAGS => '-chvf', diff --git a/private/MakeUtil.pm b/private/MakeUtil.pm index 99b1afa..13263f9 100644 --- a/private/MakeUtil.pm +++ b/private/MakeUtil.pm @@ -44,10 +44,18 @@ sub MY::libscan sub MY::postamble { - my %params = %{ $_[0] }; + my $self = shift ; + my %params = @_ ; - return '' - if $ENV{PERL_CORE} ; + if ($ENV{PERL_CORE} ) + { + return <.github/Zlib.pod - -EOM - } - else - { - $postamble .= <.github/$name.pod EOM }