Source

perl-SVN-RaWeb-Light / Makefile.PL

use ExtUtils::MakeMaker;

open O, ">", "lib/SVN/RaWeb/Light/Help.pm";
print O <<'EOF';
package SVN::RaWeb::Light::Help;

sub print_data
{
    local $/;
    print <DATA>;
}

1;
EOF

print O "__DATA__\n";

{
    local $/;
    open I, "<", "docs/Help.html";
    print O <I>;
    close(I);
}
close(O);

# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    NAME              => 'SVN::RaWeb::Light',
    VERSION_FROM      => 'lib/SVN/RaWeb/Light.pm', # finds $VERSION
    PREREQ_PM         => 
        {
            'SVN::Ra' => 0,
            'CGI' => 0,
            'IO::Scalar' => 0,
            'Class::Accessor' => 0,
            'Test::More' => 0,
        }, # e.g., Module::Name => 1.1
    ABSTRACT_FROM  => 'lib/SVN/RaWeb/Light.pm', # retrieve abstract from module
    AUTHOR         => 'Shlomi Fish <shlomif@iglu.org.il>',
);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.