Thanks for your help and ideas.

An excerpt out of my MANIFEST with the associated target directories would look kind of this:

bin/mybin => /usr/local/bin helper/foo_handler.pl => /usr/local/share/mymod/client/bin helper/bar_handler.pl => /usr/local/share/mymod/client/bin helper/baz_handler.pl => /usr/local/share/mymod/client/bin conf/standard.ini => /var/opt/mymod/scan_repo conf/foo.ini => /var/opt/mymod/scan_repo conf/bar.ini => /var/opt/mymod/scan_repo conf/mybin.conf => /usr/local/share/mymod/client/mybin.conf # or maybe with another directory # cf/mybin.conf => /usr/local/share/mymod/client/mybin.conf lib/My/Module.pm => /usr/local/share/mymod/lib

In my case I think abusing INSTALLSCRIPT and INSTALLBIN would do if I only had my 'mybin' and the helper scripts, but as you see I have to handle also the different config and ini-files with different locations.

So I think I get back to the PL_FILES strategy you suggested. I think that should be the most successful one.

I also thought about the File::ShareDir and File::ShareDir::Install modules, such as the anonymous monk mentioned, but there's the drawback that this is only for read only data and that scares me a little bit off this.

So thank you very much, I'll try it out :-)


In reply to Re^2: Module::Build's adding new filetypes in ExtUtils::MakeMaker by vicdan
in thread Module::Build's adding new filetypes in ExtUtils::MakeMaker by vicdan

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.