]> Lady’s Gitweb - Shushe/commitdiff
Update FINDRULES documentation 0.3.1
authorLady <redacted>
Tue, 16 Jan 2024 06:04:33 +0000 (01:04 -0500)
committerLady <redacted>
Thu, 18 Jan 2024 02:37:30 +0000 (21:37 -0500)
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.

GNUmakefile
README.markdown

index 76cebd43ff85585861f06689867ad9950519e5f5..2de20b2115420da7666e7c7a1f6e20398138c87e 100644 (file)
@@ -146,9 +146,8 @@ MAGICDIR := $(patsubst ./%,%,$(THISDIR)/magic)
 
 # 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)
 
index de822096c943ddfeae790ae9cda2469fd9be43f3..4c1f1d63f57a91b42c40230ce5419aa5aa1b5c6d 100644 (file)
@@ -160,7 +160,8 @@ The following additional variables can be used to control the behaviour
 - **`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:
This page took 0.025976 seconds and 4 git commands to generate.