Subject: | Make dependency problem |
If utils/maketables.pl dies with an error, blib/lib/TVGuide/NL/Names.pm gets written anyway, so a subsequent ‘make’ will succeed, or ‘succeed’ as the case may be, but blib/lib/TVGuide/NL/Names.pm will be empty.
A better approach would be to pass the file name to utils/maketables.pl as an argument, instead of redirecting its output. Have utils/maketables.pl open the file itself after fetching the information it needs, so that if it dies in the process no file will be written.
I discovered this when looking into #117740.