From 9a2c1adb79fe5d713566035cf784f2ac904037ec Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@Germany>
Date: Wed, 12 Nov 2008 23:33:51 +0100
Subject: [PATCH] wmakeLnInclude : also ignore 'noLink' directories  - useful
 for avoiding links on older versions, or for 'hiding' contents

---
 wmake/wmakeLnInclude | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/wmake/wmakeLnInclude b/wmake/wmakeLnInclude
index 066b6346fd0..67751501036 100755
--- a/wmake/wmakeLnInclude
+++ b/wmake/wmakeLnInclude
@@ -140,9 +140,10 @@ find -L . -type l -exec rm \{\} \;
 
 #
 # create links, avoid recreating links unless necessary
+# things placed in the 'noLink' directory are skipped
 #
 find .. $findOpt \
-    \( -name lnInclude -o -name Make -o -name config \) -prune \
+    \( -name lnInclude -o -name Make -o -name config -o -name noLink \) -prune \
  -o \( -name '*.[CHh]' -o -name '*.[ch]xx' -o -name '*.[ch]pp' -o -name '*.type' \)  \
  -a ! -name ".#*" \
  -print | \
-- 
GitLab