From: Lady Date: Tue, 16 Jan 2024 06:04:33 +0000 (-0500) Subject: Update FINDRULES documentation X-Git-Tag: 0.3.1^0 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/56637a1e803cab7a53a1259d1fa4b84513a1c5b1?hp=0497d2be04ca445982491ebf77437779416ec7b2 Update FINDRULES documentation 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. --- diff --git a/GNUmakefile b/GNUmakefile index 76cebd4..2de20b2 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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) diff --git a/README.markdown b/README.markdown index de82209..4c1f1d6 100644 --- a/README.markdown +++ b/README.markdown @@ -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: