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. 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.