]> gitweb.michael.orlitzky.com - mjotex.git/commitdiff
GNUmakefile: simplify recursive logic and eliminate a "pdflatex" call.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 1 May 2020 19:32:02 +0000 (15:32 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 1 May 2020 19:32:02 +0000 (15:32 -0400)
In the recursive $(MAKE), the sub-$(MAKE) can succeed and then
subsequently delete its "previous" file. When that returns control to
the parent $(MAKE), the parent will try to diff the (now missing)
"previous" file against the latest one, which of course fails. This
leads to an extra build of the same, current, not-gonna-change PDF.

A slight change in the logic both simplifies things and eliminates
that extra rebuild. Thanks to Wojtek Kosior who pointed out the bug in
an email.


No differences found