hi there,
i'm writing a tk app that i'm shipping as a cpan dist. this app needs
some extra resource files (icons, etc) i'd like to know what's the best
method to ship extra data files in a dist.
where to put them in the dist tar file:
- create a data subdir under lib/Foo/Bar (assuming it's dist Foo::Bar).
in that case, do they get installed automatically, even if not pm
files?
- create a data subdir at the top level, and use sthg like this in
Makefile.PL:
PM => {
'data/foo.data' => '$(INST_LIB)/Foo/Bar/foo.data',
...
},
- anything else?
thanks for your help,
jérôme
--
jquelin@gmail.com
Thread Next