summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2020-02-21 13:09:29 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2020-02-21 13:09:29 +0100
commitdd2876aabcc4a62ddb8cbd96738a2bffd41390b1 (patch)
tree3fcd2fbb8e719c5a01846259928b1beae4afa71d
parentaf51d01a8aa8d7cf529173bdb64392f14eb21962 (diff)
downloadpatches-dd2876aabcc4a62ddb8cbd96738a2bffd41390b1.tar
patches-dd2876aabcc4a62ddb8cbd96738a2bffd41390b1.tar.gz
doc: Fix copy-build-system specification.
* doc/guix.texi (Build Systems): Files must match one or more filters, not exactly one.
-rw-r--r--doc/guix.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 1fc4bd06e3..1349d9b27a 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -6187,10 +6187,11 @@ as above.
@code{#:exclude-regexp}, only select files are installed depending on
the filters. Each filters is specified by a list of strings.
@itemize
-@item With @code{#:include}, install all the files which path suffix exactly matches
-one of the elements in the given list.
-@item With @code{#:include-regexp}, install all the files which subpaths match the
-regular expressions in the given list.
+@item With @code{#:include}, install all the files which the path suffix matches
+at least one of the elements in the given list.
+@item With @code{#:include-regexp}, install all the files which the
+subpaths match at least one of the regular expressions in the given
+list.
@item The @code{#:exclude} and @code{#:exclude-regexp} filters
are the complement of their inclusion counterpart. Without @code{#:include} flags,
install all files but those matching the exclusion filters.