From e8b098121ce428abce463174b213e7e87e77ee2f Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 5 Jul 2016 07:54:45 +0100 Subject: [PATCH] wmake: execute wmakeLnIncludeAll once with options 'queue' and 'update' --- wmake/wmake | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/wmake/wmake b/wmake/wmake index 9ac7a102a3..a047b12c2c 100755 --- a/wmake/wmake +++ b/wmake/wmake @@ -281,11 +281,14 @@ if [ -n "$update" ] then wrmdep -update wrmdep -old - if [ -n "$WM_NCOMPPROCS" ] + if [ "$all" != "queue" ] then - wmakeLnIncludeAll -j$WM_NCOMPPROCS - else - wmakeLnIncludeAll + if [ -n "$WM_NCOMPPROCS" ] + then + wmakeLnIncludeAll -j$WM_NCOMPPROCS + else + wmakeLnIncludeAll + fi fi wclean empty export WM_UPDATE_DEPENDENCIES=yes