Heyas Michael G Schwern 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? > You should be able to add the dep in a postamble. > > sub MY::postamble { > return qq[ > > foo/bar.PL :: ugh.txt > $(NOOP) > ]; > } >
Unfortunately it is not working. Tried also foo/bar :: ugh.txt but foo/bar is not rebuilt when I change ugh.txt Oh well :) Thanks Alberto -- Alberto Simões