From 881f51062fbbd5bcfb1c0c02826fe2bfdc516dff Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Sun, 9 May 2021 23:39:28 +0200 Subject: [PATCH] Makefile: Fix bug when running in parallel Prerequisites can run in parallel. This wouldn't make any sense when uninstalling and installing again. For that, use consecutive commands, which run one after the other even with multiple cores. Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 430090801..fdfaf9645 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,9 @@ INSTALL_DATA = $(INSTALL) -m 644 INSTALL_DIR = $(INSTALL) -m 755 -d .PHONY: all -all: remove install +all: + $(MAKE) uninstall; + $(MAKE) install; # Use with # make HTOPTS=whatever html