OtcFormula has asked for the wisdom of the Perl Monks concerning the following question:

I'm sure I must just be confused about something simple. I have a standard h2xs-generated (unmodified) Makefile.PL. I've added submodules in the ./lib/ directory by adding .pm files.

The submodules do indeed build and test successfully, but they don't get included in the "make tardist" tarball.

Surely someone knows what trivial thing I'm missing! Why do the build and test phases find and use the files, but tardist not?

Thanks!
  • Comment on "make tardist" omits .pm files placed in ./lib/Foo/

Replies are listed 'Best First'.
Re: "make tardist" omits .pm files placed in ./lib/Foo/
by Corion (Patriarch) on Jan 13, 2010 at 13:17 UTC

    Did you update your MANIFEST file with the new files? make manifest should do that.

      Ah ha! Thank you! I knew it was something dumb. With a "make manifest" I'm all set!
Re: "make tardist" omits .pm files placed in ./lib/Foo/
by OtcFormula (Novice) on Jan 13, 2010 at 13:23 UTC
    Just to follow up on my own question with more info:

    "make install" does the right thing with the submodule .pm files too. Only "make tardist" fails to find them, for me.