wmakeLnInclude : also ignore 'noLink' directories

- useful for avoiding links on older versions, or for 'hiding' contents
This commit is contained in:
Mark Olesen
2008-11-12 23:33:51 +01:00
parent d4fcd2d9c4
commit 9a2c1adb79

View File

@ -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 | \