in reply to Bundling a module with a distribution (cross-platform)

Why install it and then move it? Why not just install it where you want it to end up, in your Modules/ directory?
  • Comment on Re: Bundling a module with a distribution

Replies are listed 'Best First'.
Re^2: Bundling a module with a distribution
by anjoschu (Sexton) on Dec 29, 2004 at 20:37 UTC

    You're right, of course. At the time of writing, I was unsure of where make puts the files that are to become installed. They can be found in the blib directory.

    When I make install run perl Makefile.PL with the PREFIX option and then make install, it creates the whole architecture dependent tree within Modules, sort of like Modules/Library/Perl/5.8.1/darwin-thread-multi-2level, which isn't what I wanted. That's why I decided to copy the files by hand.

    Update: Noticed mixup with make install.

      When I make install with the PREFIX option, it creates the whole architecture dependent tree within Modules, sort of like Modules/Library/Perl/5.8.1/darwin-thread-multi-2level, which isn't what I wanted.
      use LIB=/path/to/Modules additionally to PREFIX. this won't create the whole tree.