On Tue, Oct 28, 2003 at 01:11:23PM -0500, H. Wade Minter wrote:
> Can you include supporting files in a binary via pp?  For example, if I
> have an Image referenced in Perl/Tk like:
> 
> Image(-file=>"images/file.png");
> 
> Is there any way to get pp/ScanDeps/etc. to pick up that image file and
> put it in the proper place, so that the image is available within the
> bundle?

Yes, but there is currently no way to include the file under "images/"
(well, except using zip tools to manipulate it by yourself), because on
pp line 206 there is a basename().

It is possible to say:

    Image(-file=>"file.png");

and pack it thus:

    pp --add /path/to/file.png

Suggestions welcome for the pp syntax on including files into arbitary
directory, patches doubly so. :-)

Thanks,
/Autrijus/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to