This comment is out‐of‐date (since the removal of `FINDOPTS`), and the
readme prose misses that percents are also problematic and not matched
by default.
# Configuration of `find´.
#
-# By default, `find´ will not follow symlinks and will use extended
-# regular expressions, ignoring hidden files and those which begin with
-# a period.
+# By default, `find´ will ignore hidden files, those which begin with a
+# period, and those which are likely to cause problems for `make´.
FINDRULES := -flags -nohidden -and ! '(' '(' -name '[.-]*' -or -name '*[:|$$%]*' ')' -and -prune ')'
FINDINCLUDERULES := $(FINDRULES)
- **`FINDRULES`:**
Rules to use with `find` when searching for source files.
The default ignores hidden files, those that start with a period or
- hyphen‐minus, and those which contain a pipe, buck, or colon.
+ hyphen‐minus, and those which contain a pipe, buck, percent, or
+ colon.
- **`FINDINCLUDERULES`:**
Rules to use with `find` when searching for includes (default: