Alberto Simões wrote:
Hello,

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?

At the moment I need to make clean, perl Mkefile.PL, make...

You should be able to add the dep in a postamble.

sub MY::postamble {
    return qq[

foo/bar.PL :: ugh.txt
        $(NOOP)
];
}


--
10. Not allowed to purchase anyone's soul on government time.
    -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
           http://skippyslist.com/list/

Reply via email to