Re: [Module::Build] add_property()
Status: Beta
Brought to you by:
kwilliams
|
From: David W. <da...@ki...> - 2006-03-16 02:51:57
|
On Mar 15, 2006, at 17:57, Randy W. Sims wrote:
> $builder->add_build_element('yml');
> $builder->install_path(
> 'yml' => File::Spec->catdir($builder->install_base, 'etc'),
> );
>
> $builder->create_build_script;
Nice.
> The constructor tells it to copy the 'config.yml' in the root
> directory of your distribution (the directory containing
> 'Build.PL') and copy it to 'blib/yml/config.yml'.
>
> The call to install_path tells it where to install the yml files
> relative to install_base. In the above example it would install into
>
> /home/randys/tmp/Foo/etc/config.yml
Cool, as long as install_base doesn't change after the call to
install_path(). :-) Since that's a problem that I have, I eagerly
await your auto_build_elements() method.
Best,
David
|