Cac
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
EOF
exit(1);
}
use Config;
WriteMakefile(
'NAME' => 'Cac',
'dist' => {
PREOP => 'chown -R root.root .; chmod -R u=rwX,go=rX . ;',
COMPRESS => 'gzip -9v',
SUFFIX => '.gz',
DIST_DEFAULT=> 'predist',
},
'VERSION_FROM' => 'Cac.pm',
'PREREQ_PM' => { # 'Spreadsheet::WriteExcel' => 0.32,
# 'Parse::RecDescent' => 1.80,
},
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'Cac.pm', # retrieve abstract from module
Makefile.PL view on Meta::CPAN
mkdir -p \"\$\$t\"/\$\$(dirname \"\$\$i\") && \\
o=\"\$\$t\"/\$\$(dirname \"\$\$i\")/\$\$(basename \$\$i|sed -e s/.pm\$\$/.html/) ; \\
o=\"\$\$t\"/\$\$(basename \$\$i|sed -e s/.pm\$\$/.html/) ; \\
pod2html --podpath '.:Cac' \\
--infile \"\$\$i\" \\
--outfile \"\$\$o\" && \\
\$(PERL) -pi -e 's|href=\"/./blib/lib/Cac/|href=\"|g' \"\$\$o\" && \\
\$(PERL) -pi -e 's|href=\"/./Cac/|href=\"|g' \"\$\$o\" && \\
\$(PERL) -pi -e 's|href=\"/\\./Cac\\.|href=\"Cac.|g' \"\$\$o\" ; \\
done && \\
chmod -R 444 \"\$\$t\"
_clean:
find . -iname '*~' -print0|xargs -0r rm -f
find . -iname '*.html' -print0|xargs -0r rm -f
find . -iname '*.tmp' -print0|xargs -0r rm -f
rm -rf ./html
( cd ./gen && \$(MAKE) -f Makefile.unix clean)
"
}
( run in 0.358 second using v1.01-cache-2.11-cpan-8d75d55dd25 )