mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-09-25 16:42:46 +08:00
Makefile.PL now extracts the POD into README.pod
This commit is contained in:
@@ -18,3 +18,10 @@ WriteMakefile
|
|||||||
clean => { FILES => 'feedGnuplot-*' },
|
clean => { FILES => 'feedGnuplot-*' },
|
||||||
);
|
);
|
||||||
|
|
||||||
|
# reroute the main POD into a separate README.pod
|
||||||
|
open SCRIPT, 'bin/feedGnuplot' or die "Couldn't open main script";
|
||||||
|
open README, '>README.pod' or die "Couldn't open README.pod";
|
||||||
|
while(<SCRIPT>)
|
||||||
|
{
|
||||||
|
if(/^=/../^=cut/) { print README; }
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user