Damyan,
Actually you are proposing my first idea but I thought the
create_readme parameter was more elegant. May be that is a Build.PL bias.
for determining the main file, Makefile.PL has a VERSION_FROM
parameter.
Build.PL has a dist_version_from parameter. And obviously if you cannot
determine a main file you would
revert to current behaviour.
Nicholas
On 04/01/11 20:29, Damyan Ivanov wrote:
Agreed, the revival of useless README in $pkg.docs is really annoying.
-=| Nicholas Bamber, Tue, Jan 04, 2011 at 06:53:30PM +0000 |=-
At least for Build.PL detecting autogenerated README should be easy
enough.
There is a a create_readme option which is an absolute give away.
Is it possible to have a non-autogenerated README *with* that option?
At least in theory it could also be possible to use pod2text over the
"main" module and compare the result with the contents of the README
file. Such approach would also work for other build systems, but would
need a way to determine which is the "main" module. Any ideas?
_______________________________________________
pkg-perl-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-perl-maintainers
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]