yochju / latex-makefile

Automatically exported from code.google.com/p/latex-makefile
Other
0 stars 0 forks source link

Warnings on missing dependency files #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by ArmObe...@gmail.com on 30 May 2011 at 6:59

GoogleCodeExporter commented 9 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.  :-)

Original comment by shiblon on 31 May 2011 at 4:26