From: Lady Date: Sat, 25 May 2024 04:14:34 +0000 (-0400) Subject: Wrap EXTRAFINDRULES in parentheses X-Git-Tag: 0.9.3^0 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/97eb35881d058b7e82f034f6ca83cb76c4df4198?ds=inline Wrap EXTRAFINDRULES in parentheses It shouldn’t be required that users do this. --- diff --git a/GNUmakefile b/GNUmakefile index 3db4e3c..eb2a96c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -173,8 +173,8 @@ THISDIR := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) # By default, `find´ will ignore files which begin with a period and those which are likely to cause problems for `make´. EXTRAFINDRULES := EXTRAFINDINCLUDERULES := -FINDRULES := ! '(' '(' -name '[.-]*' -a ! -name '.' -o -name '*[][*?:|$$%\#\\; ]*' -o -name '*[)]' ')' -a -prune ')'$(if $(EXTRAFINDRULES), -a $(EXTRAFINDRULES),) -FINDINCLUDERULES := $(FINDRULES)$(if $(EXTRAFINDINCLUDERULES), -a $(EXTRAFINDINCLUDERULES),) +FINDRULES := ! '(' '(' -name '[.-]*' -a ! -name '.' -o -name '*[][*?:|$$%\#\\; ]*' -o -name '*[)]' ')' -a -prune ')'$(if $(EXTRAFINDRULES), -a '(' $(EXTRAFINDRULES) ')',) +FINDINCLUDERULES := $(FINDRULES)$(if $(EXTRAFINDINCLUDERULES), -a '(' $(EXTRAFINDINCLUDERULES) ')',) # The list of magic files to use when determining media types. #