Subject: | Documentation deficiencies |
Date: | Tue, 4 Dec 2007 17:54:16 +0000 |
To: | bug-CPANPLUS-Dist-Deb [...] rt.cpan.org |
From: | Peter Corlett <abuse [...] cabal.org.uk> |
Hi,
There seem to be a number of deficiencies in the documentation for
CPANPLUS::Dist::Deb 0.10 that made it harder than it needed to be for me to
work out how to use it to create packages.
The example cpan2dist command line of "cpan2dist -f CPANPLUS::Dist::Deb
Some::Module" does not work because cpan2dist (as of CPANPLUS 0.82) now has
multiple options starting with -f and it is ambiguous.
It would be useful if the options to $dist->prepare() were better-documented
as it's not obvious what I might like to frob to customise package
generation.
Some more examples of how to use cpan2dist would be nice too. I eventually
figured out that I wanted this, for example:
yes '' | cpan2dist --format CPANPLUS::Dist::Deb Annoying::Module \
--dist-opts prefix='' --dist-opts distdir=$(pwd)