Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manpage not installed? #44

Closed
perlancar opened this issue Nov 2, 2016 · 3 comments
Closed

Manpage not installed? #44

perlancar opened this issue Nov 2, 2016 · 3 comments

Comments

@perlancar
Copy link

I don't know yet if it's a Menlo issue or cpm. But when I install using cpanm (1.7040):

% cpanm -n App::CSVUtils

then:

% cpanm --uninstall App::CSVUtils

the result is:

App::CSVUtils contains the following files:

  /home/u1/perl5/perlbrew/perls/perl-5.24.0/bin/csv-add-field
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/bin/csv-delete-field
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/bin/csv-list-field-names
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/bin/csv-munge-field
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/bin/csv-replace-newline
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/bin/csvutil
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/bin/replace-newline-in-csv
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/App/CSVUtils.pm
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/man/man1/csv-add-field.1
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/man/man1/csv-delete-field.1
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/man/man1/csv-list-field-names.1
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/man/man1/csv-munge-field.1
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/man/man1/csv-replace-newline.1
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/man/man1/csvutil.1
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/man/man1/replace-newline-in-csv.1
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/man/man3/App::CSVUtils.3

Are you sure you want to uninstall App::CSVUtils? [y]

But if I use cpm (0.211):

% cpm install -g App::CSVUtils

then:

% cpanm --uninstall App::CSVUtils

the result is:

App::CSVUtils contains the following files:

  /home/u1/perl5/perlbrew/perls/perl-5.24.0/bin/csv-add-field
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/bin/csv-delete-field
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/bin/csv-list-field-names
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/bin/csv-munge-field
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/bin/csv-replace-newline
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/bin/csvutil
  /home/u1/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/App/CSVUtils.pm

Are you sure you want to uninstall App::CSVUtils? [y]

There are no manpages being installed by cpm.

@skaji
Copy link
Owner

skaji commented Nov 2, 2016

@perlancar
Copy link
Author

I see. So this is one of the reasons why cpm is faster than cpanm.

Would you consider adding an option like --pod2man or --man to install man? I don't know about others, but I consider manpages to be an important part of a module installation.

@skaji skaji closed this as completed in 6be3758 Nov 3, 2016
@perlancar
Copy link
Author

@skaji Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants