shiblon/latex-makefile

Warnings on missing dependency files

shiblon opened this issue · 1 comments

Originally reported on Google Code with ID 131

When dependency files are generated for the first time, make reports a warning that
they are missing. Although this is not a major issue, it can easily be fixed by changing
include ...
to
-include ...

Thanks for a great and useful Makefile.

Reported by ArmOberon on 2011-05-30 06:59:24

Unfortunately, make does not have a nice way of saying "don't warn if this isn't there,
but *do* always try to build it, then fail".  Instead, if I add the - prefix, the file
is not reliably built if it is not there; the '-' also means "this is optional", which
is emphatically not correct in this case.

That's what was the case several years ago when I first wrote this logic, anyway. 
Adding - to the directive simply meant that make didn't build it in all cases.   So,
I opted for the warning instead.  :-)

Reported by shiblon on 2011-05-31 16:26:51

  • Status changed: WontFix