From: Michael Orlitzky Date: Fri, 1 May 2020 19:32:02 +0000 (-0400) Subject: GNUmakefile: simplify recursive logic and eliminate a "pdflatex" call. X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=26f80f0b525b70b3f33eb8d4a5a6c94da7a20c9d;hp=26f80f0b525b70b3f33eb8d4a5a6c94da7a20c9d;p=mjotex.git 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. ---