mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
Makefile.PL no longer need to make the README.pod
This commit is contained in:
parent
d28ef06cff
commit
a285735961
13
Makefile.PL
13
Makefile.PL
@ -44,16 +44,3 @@ WriteMakefile
|
|||||||
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
|
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
|
||||||
clean => { FILES => 'feedgnuplot-*' },
|
clean => { FILES => 'feedgnuplot-*' },
|
||||||
);
|
);
|
||||||
|
|
||||||
# reroute the main POD into a separate README.pod if requested. This is here
|
|
||||||
# purely to generate a README.pod for the github front page
|
|
||||||
if(exists $ARGV[0] && $ARGV[0] eq '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; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user