aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-06-19 12:38:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-06-19 12:38:20 +0200
commite25d68cc8dc5dba429529d54934910887a3223a3 (patch)
tree3b1599937dd506a1a5ad350cfee49b604aacacae /doc
parent0cf57ad1b3fe49521704c438d02e03eb7cf95c5e (diff)
Add more examples of wildcard pattern exclusions
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.cli14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/manual.cli b/doc/manual.cli
index 55b0443..0de3247 100644
--- a/doc/manual.cli
+++ b/doc/manual.cli
@@ -103,6 +103,20 @@ the tree. This can be achieved with the following pattern:
exe{hello}: cxx{** -***/test/**}
\
+Similarly, if we wanted to exclude all source files that have the \c{-test}
+suffix:
+
+\
+exe{hello}: cxx{** -**-test}
+\
+
+In contrast, the following pattern only excludes such files from the top
+directory:
+
+\
+exe{hello}: cxx{** -*-test}
+\
+
If many inclusions or exclusions need to be specified, then an
inclusion/exclusion group can be used. For example: