]> gitweb.michael.orlitzky.com - mjotex.git/commit
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)
commit26f80f0b525b70b3f33eb8d4a5a6c94da7a20c9d
treeaf63a9e3749844edc09784a6df327202fe1b1069
parent55b064149243566c61fe9d1374d85710fe7253c1
GNUmakefile: simplify recursive logic and eliminate a "pdflatex" call.

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.
GNUmakefile