shiblon / latex-makefile

A Makefile for LaTeX - drop it in, type make, and magic happens.
Other
185 stars 30 forks source link

Warnings on missing dependency files #144

Closed shiblon closed 8 years ago

shiblon commented 8 years ago

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

shiblon commented 8 years ago
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