From 734b0dc514183208313936a513580f7cb6a2f06c Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 3 Jul 2002 12:28:03 +0000 Subject: Try really hard to fix parallel installs. Add a bunch of .ORDER directives to ensure that all realinstall sub-tasks are executed after beforeinstall, similarly ensure that all afterinstall sub- tasks are executed after realinstall. Demonstration: all: task1 task2 .ORDER: task1 task2 task2: task2_subtask .ORDER: task1 task2_subtask task1 task2 task2_subtask: @sleep `jot -r 1 0 1.0` @echo ${.TARGET} Without the second .ORDER directive, task2_subtask can be run in parallel with task1. Spotted by: Andrea Campi --- share/mk/bsd.incs.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'share/mk/bsd.incs.mk') diff --git a/share/mk/bsd.incs.mk b/share/mk/bsd.incs.mk index 57a2886..615d8bb 100644 --- a/share/mk/bsd.incs.mk +++ b/share/mk/bsd.incs.mk @@ -77,3 +77,4 @@ installincludes: .endif !target(installincludes) realinstall: installincludes +.ORDER: beforeinstall installincludes -- cgit v1.1