From fdc9e9840a7f13f5c3d8f54b25c6343dde5bb6b6 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 5 Sep 2020 23:05:37 +0100 Subject: [PATCH] Makefile.m4: Fix rules to be parallel-make safe. But unfortunately not portable beyond GNU Make. --- Makefile.m4 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 = \ -- 2.11.0