From: Mark Wooding Date: Sat, 5 Sep 2020 22:05:37 +0000 (+0100) Subject: Makefile.m4: Fix rules to be parallel-make safe. X-Git-Url: https://git.distorted.org.uk/~mdw/mdwfonts/commitdiff_plain/fdc9e9840a7f13f5c3d8f54b25c6343dde5bb6b6 Makefile.m4: Fix rules to be parallel-make safe. But unfortunately not portable beyond GNU Make. --- diff --git a/Makefile.m4 b/Makefile.m4 index 0140fbc..e3db7b3 100644 --- a/Makefile.m4 +++ b/Makefile.m4 @@ -82,9 +82,11 @@ $(DVI) $(PDF): $(AUX) $(INS) .vpl.vf:; vptovf $< clean-local::; rm -rf t.*/ -$(ETX) $(MAP) $(INS): $(SRC) mdwfonts.ins +$(wordlist 2,$(words $(ETX)),$(ETX)) $(MAP) $(INS): $(firstword $(ETX)) +$(firstword $(ETX)): $(SRC) mdwfonts.ins tex "\nonstopmode \input mdwfonts.ins" -$(FD) $(VF) $(PL) $(VPL): mdwfonts.tex $(ETX) +$(wordlist 2,$(words $(FD)),$(FD)) $(VF) $(PL) $(VPL): $(firstword $(FD)) +$(firstword $(FD)): mdwfonts.tex $(ETX) $(FONTINST) "\nonstopmode \input mdwfonts.tex" EXTRA_DIST = \