Alberto Simões
Fri, 28 Aug 2009 14:25:35 -0700
Hey
brian d foy wrote:
> In article <4a93f5ae.6000...@alfarrabio.di.uminho.pt>, Alberto Simões
> <al...@alfarrabio.di.uminho.pt> wrote:
>
>
>> I am using PL_FILES => { foo/bar.PL => foo/bar }, and foo/bar.PL uses a
>> lateral file (say, ugh.txt) on the distro to build the script foo/bar.
>>
>> How can I force the dependency, so make knows it should rebuild foo/bar
>> when I change ugh.txt?
>
> I don't know a way that you can do this from Makemaker.
>
> Have you tried creating the dependency in the Makefile itself? You
> insert a bit of code into the Makefile through MY::postamble, and you
> make it run the same thing that processes the PL_FILES.
Yes, that's an option.
But
> That's certainly ugly.
:)
> When you get down to this level of detail, it's
> sometimes easier to use Module::Build unless you have some other
> contraint that forces you to use MakeMaker.
At the moment my only constrain is take time to look into M::B :)
Thanks
ambs
--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal